Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bug in work-queue implementation for 'Fine Parallel Processing Us… #16625

Merged
merged 1 commit into from
Oct 7, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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