cabot icon indicating copy to clipboard operation
cabot copied to clipboard

worker not subscribing to tasks from docker-compose / Checks not running

Open benchonaut opened this issue 4 years ago • 0 comments

after many tries, it turned out that the worker did only sometimes subscribe , though beat was running and rabbitmq was connected ,

i turned out that running it in the main container , subscription to cabot.* worked , but only if worker is not started too early

Solution

extended the cmd section of docker-compose.yml gunicorn cabot.wsgi:application -b 0.0.0.0:5000 --workers=5 & sleep 45 ; celery -A cabot worker --loglevel=INFO & wait

benchonaut avatar Apr 05 '20 23:04 benchonaut