Skip to content

Conversation

@liaojie
Copy link
Contributor

@liaojie liaojie commented Jan 26, 2021

This commit fixs #633

When start more than one worker, a failed task would be put in delayed queue and consumed more than once by the workers, with goredis as backend.
This is mainly because currently no transaction provided for ZRevRangeByScore and ZRem in nextDelayedTask, and this patch fixes the issue, with the correct way to make use of Redis Watch

@RichardKnop RichardKnop merged commit 09ba74a into RichardKnop:master Feb 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants