Skip to content

Commit 8b23a4c

Browse files
committed
Add SIGTERM handler for a graceful shutdown
Changes the wait_for_connection function in the Listen trait to be non-blocking. That allows checking in the main loop if the SIGTERM signal has been raised. Signed-off-by: Hugues de Valon <[email protected]>
1 parent 71093b4 commit 8b23a4c

File tree

6 files changed

+179
-125
lines changed

6 files changed

+179
-125
lines changed

0 commit comments

Comments
 (0)