Skip to content

Commit

Permalink
fix bug in work-queue implementation for 'Fine Parallel Processing Us…
Browse files Browse the repository at this point in the history
…ing a Work Queue' (#16625)
  • Loading branch information
dseynaev authored and k8s-ci-robot committed Oct 7, 2019
1 parent 232d99e commit e6a6e42
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion content/en/examples/application/job/redis/rediswq.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def complete(self, value):
# If we crash here, then the GC code will try to move the value, but it will
# not be here, which is fine. So this does not need to be a transaction.
itemkey = self._itemkey(value)
self._db.delete(self._lease_key_prefix + itemkey, self._session)
self._db.delete(self._lease_key_prefix + itemkey)

# TODO: add functions to clean up all keys associated with "name" when
# processing is complete.
Expand Down
2 changes: 1 addition & 1 deletion content/ja/examples/application/job/redis/rediswq.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def complete(self, value):
# If we crash here, then the GC code will try to move the value, but it will
# not be here, which is fine. So this does not need to be a transaction.
itemkey = self._itemkey(value)
self._db.delete(self._lease_key_prefix + itemkey, self._session)
self._db.delete(self._lease_key_prefix + itemkey)

# TODO: add functions to clean up all keys associated with "name" when
# processing is complete.
Expand Down

0 comments on commit e6a6e42

Please sign in to comment.