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

Call Celery worker properly #4881

Merged
merged 1 commit into from Nov 8, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion contrib/supervisord.conf
Expand Up @@ -34,7 +34,7 @@ stderr_logfile = /dev/stderr
stderr_logfile_maxbytes = 0

[program:celery]
command = python3 -m celery worker -A readthedocs -Q default,celery,web,builder -l DEBUG -c 2
command = python3 -m celery worker -A readthedocs.worker -Q default,celery,web,builder -l DEBUG -c 2
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha, I've used this one manually. Why it was working before?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We just pushed code that doesn't import celery in __init__ anymore.

directory = ../
priority = 100
stopasgroup = True
Expand Down