revsys / django-health-check

a pluggable app that runs a full check on the deployment, using a number of plugins to check e.g. database, queue server, celery processes, etc.
https://readthedocs.org/projects/django-health-check/
MIT License
1.24k stars 191 forks source link

Celery Health Check, "TimeoutError: The task took too long to return a result" #324

Open lotfyhussein opened 2 years ago

lotfyhussein commented 2 years ago

Hello,

we use django health check with celery and redis as a broker. We randomly get an exception "TimeoutError: The task took too long to return a result". We get this error like twice a day.

Is the default timeout for the task to return a result 3 seconds?

Does the error indicate there is possibly a jam in the celery queue?

Thanks

pfcodes commented 1 month ago

This is triggering a lot of false alarms for us too