Reputation: 861
I have celery running in a docker container and I want to check that the option CELERY_TASK_RESULT_EXPIRES = '3600'
has been applied.
I tried using celery inspect conf
and celery inspect stats
but the commands never end. Other than that celery is running fine and doing its work.
Upvotes: 4
Views: 4307
Reputation: 101
You can get that from celery inspect. Try this
celery -A app inspect report --timeout 10
Upvotes: 10
Reputation: 861
Found flower. It is installed with
pip install flower
flower -A celery-app-name --port=5555
And then celery can be accessed via REST API. The following will give the workers config
curl -w "\n" http://localhost:5555/api/workers
Upvotes: 2