[Solved]-How to ensure a Celery task is Preventing overlapping Celery task executions


If I were you I’d setup a special queue for any jobs that can’t be executed simultaneously. Then you can simply startup a separate worker just for that queue.



Standard way is to use shared lock via django standard cache mechanism. See this recipe from official documentation

Leave a comment