Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

celery, what happens to apply_async if eta is past?

Tags:

celery

It's hard to debug it to find out myself.

What happens if eta is past when you call apply_async() ?

silently drops it? executes it because it should have been in the past?

like image 368
eugene Avatar asked Mar 18 '23 11:03

eugene


1 Answers

I just tested this on our setup, eta in the past definitely works. Celery does not drop the task - It gets executed more or less immediately. Hope this helps!

like image 107
rtindru Avatar answered Apr 26 '23 08:04

rtindru