Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
benchonaut opened this issue Apr 5, 2020 · 0 comments

Comments

@benchonaut
Copy link

benchonaut commented Apr 5, 2020

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 benchonaut changed the title worker not subscribing to tasks from docker-compose worker not subscribing to tasks from docker-compose / Checks not running Apr 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant