Skip to content

Conversation

@dzhamaldev
Copy link
Contributor

Added exception handling for ProcessLookupError when killing worker processes during shutdown. Now logs if a process is already terminated, improving robustness and clarity in process management.

Added exception handling for ProcessLookupError when killing worker processes during shutdown. Now logs if a process is already terminated, improving robustness and clarity in process management.
@danfimov danfimov requested review from danfimov and s3rius December 8, 2025 11:25
@danfimov danfimov added the bug Something isn't working label Dec 8, 2025
Moved the worker shutdown code into a new _shutdown_workers() method in ProcessManager to improve code reuse and readability. The start() method now calls this helper when handling ShutdownAction.
@s3rius s3rius merged commit 8c21ebf into taskiq-python:master Dec 8, 2025
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants