-
-
Notifications
You must be signed in to change notification settings - Fork 277
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
Difference between :until_and_while_executing vs :until_executed is not clear #249
Comments
I was as confused as you are, but I think the old readme highlights the difference a bit better than the current one:
I interpret this as "While you cannot enqueue a duplicate With other words, there are two locks at |
Thanks! I guess part of the updated description got accidentally cut out or something. |
Sorry about that, the README is on my todo list to update. |
Thanks for investing your time in this useful piece of code @mhenrixon! |
Yes, thanks! |
I've updated the readme. I hope it makes more sense how I word it since the recent changes. Please let me know if not. |
I've reviewed the README several times, and I'm still not clear on what the difference is between
:until_and_while_executing
and:until_executed
.They seem like they mean the same thing: the job is locked — with duplicates being discarded — from the time it first gets added to a queue until the time it has finished being processed.
The text was updated successfully, but these errors were encountered: