Keep_alive periodic celery task queues up if it stops working
Issue #331
resolved
If the keep_alive task doesn't run, the requests keep coming in so when it gets fixed, there are a backlog of requests in the queue. There is also no point keeping a keep_alive task in the queue after the next one has been scheduled.
Refs #292
Comments (2)
-
reporter -
reporter - changed status to resolved
Tested with b11 and b12 - tasks are revoked and discarded if not executed within 10 seconds.
- Log in to comment
Explicitly set keep_alive schedule to once per minute, and add expiry of 10 seconds so they shouldn't pile up if no workers are available. Refs
#331but needs testing.→ <<cset 153d7221cd78>>