Skip to content

Commit

Permalink
fix (#83)
Browse files Browse the repository at this point in the history
Fix cancel/termination operation for redis version >= 3.0.0
  • Loading branch information
anikaweinmann authored Mar 5, 2020
1 parent cf23310 commit 3b7d9b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actinia_core/resources/common/redis_resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def set_termination(self, resource_id, expiration=3600):
"""
return self.redis_server.setex(self.resource_id_termination_prefix + resource_id,
expiration, True)
expiration, 1)

def get(self, resource_id):
"""Get the resource entry if exists
Expand Down

0 comments on commit 3b7d9b2

Please sign in to comment.