-
-
Notifications
You must be signed in to change notification settings - Fork 700
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
[BUG] Deleted tasks are preventing new tasks from being enqueued #275
Comments
@nilam-sorathia Thank you for reporting this bug! I completely overlooked this, I'll fix this in the next few days. |
Thank you for the quick reply. We appreciate your investment in this library and we plan on depending on it more. Would you please update this thread on whether the fix will be in asynq or asynqmon. Thank you @hibiken |
The main fix is going to be in this |
The bug is fixed now. Upgrading to the latest version |
@hibiken Very much appreciated! |
Describe the bug
When a unique task is scheduled and then subsequently deleted with an outstanding ttl, that task prevents a new task from being enqueued until the ttl expires.
Note: the task was deleted using Asynqmon
To Reproduce
Expected behavior
When a task is deleted, the unique constraint of a new task should not conflict with the deleted task regardless if the deleted task's unique ttl is still outstanding. Instead the new task should be to be enqueued/scheduled without error.
Environment
asynq
packageasynq: v0.16.0
asynqmon: v0.1-beta1
The text was updated successfully, but these errors were encountered: