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
661 stars 90 forks source link

File backend: Close lock file after creation #89

Closed xuhcc closed 5 years ago

xuhcc commented 5 years ago

Unclosed file descriptors eventually lead to "Too many open files" error.

cameronmaske commented 5 years ago

Hey @xuhcc thanks for the patch. The tests are now fixed, is this PR ready to go?

xuhcc commented 5 years ago

Hi @cameronmaske ! Yes, it's ready