tiangolo/full-stack

Request: more documentation for configuring/setting up tasks

Closed this issue · 4 comments

Specifically in development.

For example, I have added a simple task to worker.py. If I call the test_celery task I can see the response in the celeryworker logs; however, my new task does not run.

I have re-built the celery worker and read the worker.py code from within the running container so I know my new task is there, yet the task does not run when called.

I have added the task to celery_app.py where the task_routes are defined and added my new task to the main-queue like the original test task but still my test task does not run.

I am missing something somewhere?

I'm not sure, can you create a public repo so that I can take a look and see if I find the issue?

My mistake. I must have a configuration mistake some place. I tried adding a task in a clean copy of the project and it worked.

Sorry for the delay!

I'm glad you solved your problem. Should we close this issue now?

Yes thanks for your responses.