-
Notifications
You must be signed in to change notification settings - Fork 15
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
lock is released when the task is skipped #11
Comments
Hi, The intented behaviour is to indeed prevent any concurrent tasks from executing. If the task is running, the first concurrent task that runs, executes the following statement: Can you verify this against the output of your celery worker? |
@eur00t I think you are indeed right.
|
@artemistomaras thanks for swift reply. I can confirm: I also see this in my celery log. |
I released version 4.1.1. Thank you for your contribution. |
Hi maintainers,
In the current implementation, if the task is running, the first concurrent task removes the lock, so the next one after that will come through.
Is this the intended behaviour?
I think the lock should prevent any concurrent tasks from executing, so the goal is to only run one task at any given time.
The text was updated successfully, but these errors were encountered: