Skip to content

Handle SIGTERM/SIGINT for graceful shutdown#13

Open
dnovitski wants to merge 1 commit into
masterfrom
fix/signal-handling
Open

Handle SIGTERM/SIGINT for graceful shutdown#13
dnovitski wants to merge 1 commit into
masterfrom
fix/signal-handling

Conversation

@dnovitski

Copy link
Copy Markdown
Owner

Only SIGHUP was registered. SIGTERM (from kill/containers) and SIGINT (Ctrl-C) used Go's default immediate exit with no cleanup. Now they route through PanicAbort for graceful shutdown.

Route termination signals through PanicAbort for graceful shutdown.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant