Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Celery async-worker stuck and doesn't timeout #7489
Make sure these boxes are checked before submitting your issue - thank you!
celery worker does not timeout and stucks forever.
celery worker should stop executing mysql query.
We are executing mysql queries in async mode on celery workers. Have following parameters in the config file.
SQLLAB_TIMEOUT = 100
Using below command to start a worker:
As timeout is set to 20 minutes, worker should stop execution of query after 20 mins, and should be available to execute other queries.
And default concurrency is number of cores. We have 8 core machine, though worker executes only 1 query at a time. Also, -C option does not change anything.