Skip to content

worker logs a Maybe you forgot to import it? when it receives a message from the queue #113

Closed Answered by devraj
devraj asked this question in Q&A
Discussion options

You must be logged in to vote

I found it. I had to specifically reference the tasks package

command: ["taskiq", "worker", "${PROJ_NAME}.broker:broker", "${PROJ_NAME}.routers.auth.tasks"]

I have to investigate the -fsd cli option to ensure auto discovery of tasks.

Hopefully someone else finds this useful

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@devraj
Comment options

@s3rius
Comment options

@devraj
Comment options

Answer selected by devraj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants