cameronmaske / celery-once

Celery Once allows you to prevent multiple execution and queuing of celery tasks.
https://pypi.python.org/pypi/celery_once/
BSD 2-Clause "Simplified" License
659 stars 91 forks source link

File Backend: lock files are not cleaned automatically #111

Open ZhitongLei opened 4 years ago

ZhitongLei commented 4 years ago

Lock files are not cleaned automatically, can I remove these files periodically?

xuhcc commented 4 years ago

Do you mean that they are not cleaned after failed tasks? Normally lock file is removed when the task finishes successfully.

ZhitongLei commented 4 years ago

Do you mean that they are not cleaned after failed tasks? Normally lock file is removed when the task finishes successfully.

Whether or not task success, lock files are not cleaned.

cameronmaske commented 4 years ago

@ZhitongLei Any chance you could put together a minimal example that reproduces this issue? From trying the file backend locally I haven't been able to recreate this.