Replies: 1 comment
-
it seems a PDM issue, and only happens in MacOS |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I use pdm to run taskiq like this:
pdm run taskiq worker tasks.taskiq.broker:broker -fsd --tasks-pattern="tasks/taskiq/tasks/*.py" --max-async-tasks=100 --hardkill-count=1 --wait-tasks-timeout=25
After a while I entered ctrl+c, then it get stuck. The console printed "Shutting down the broker", but it wouldn't exit forever. I used

ps -ef | grep taskiq
, the taskiq process was still there.This issue seems to occur only after the process has been running for a while. If I press Ctrl+C immediately after starting the process, the process exits successfully.
Beta Was this translation helpful? Give feedback.
All reactions