Skip to content
This repository was archived by the owner on Sep 13, 2025. It is now read-only.

Conversation

alindt
Copy link

@alindt alindt commented Jul 23, 2025

Replaced blocking accept() loop with tokio::select! to handle SIGTERM and SIGINT signals. This allows the process to exit cleanly instead of being forcibly killed.

Unlike the Docker workaround in 215d32c (#20), this solution fixes the issue at the application level and works in all environments (Docker, Kubernetes, bare metal) without relying on external process managers.

Replaced blocking accept() loop with tokio::select! to handle SIGTERM
and SIGINT signals. This allows the process to exit cleanly instead
of being forcibly killed.

Unlike the Docker workaround in 215d32c (iv-org#20), this solution fixes
the issue at the application level and works in all environments
(Docker, Kubernetes, bare metal) without relying on external
process managers.
@alindt
Copy link
Author

alindt commented Jul 23, 2025

Fixes #31

Docker-only workaround not needed anymore since 6cd32c9.
@unixfox unixfox requested a review from techmetx11 July 23, 2025 23:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant