steinitzu / celery-singleton

Seamlessly prevent duplicate executions of celery tasks
MIT License
237 stars 36 forks source link

Support for celery send_task() #37

Open Amar-C opened 3 years ago

Amar-C commented 3 years ago

Hi, Does this support tasks invocation via send_task()? Use-case: I have remote workers and we use send_task to start the tasks

steinitzu commented 3 years ago

Hi This is not supported currently. This library only provides a custom task class (Singleton) and the apply_async method of that is where all the magic happens. Directly using send_task() bypasses all of this.