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

Celery worker ignore arguments given on start #90

Open
JankesJanco opened this issue Jan 31, 2018 · 1 comment
Open

Celery worker ignore arguments given on start #90

JankesJanco opened this issue Jan 31, 2018 · 1 comment

Comments

@JankesJanco
Copy link
Member

When running zsl application as a celery worker, the arguments given on start are ignored.

Example

Name can be specified for worker with option -n (docs), log level can be specified with option -l (docs). When I run worker (see bellow), given options are ignored.

python app.py celery worker -n name_of_my_incredible_worker -l INFO
@JankesJanco
Copy link
Member Author

The cause is probably in function run_worker() (on this line) which is called from CeleryCli class method here. The argument given to run_worker function is not passed further to CeleryTaskQueueMainWorker.run method (here)

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