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

Adding minimum interval param #132

Open CartierPierre opened 3 years ago

CartierPierre commented 3 years ago

Hi,

I could be good to have a new feature using a minimum interval parameter. For example, the task is locked for 1 hour, no matter if the task has ended. It's to prevent to do same action multiple times in a time interval.

I'll look at the code and try to fork.

CartierPierre commented 3 years ago

https://github.com/cameronmaske/celery-once/pull/133