Skip to content

Commit

Permalink
add term signal
Browse files Browse the repository at this point in the history
  • Loading branch information
lzp0412 committed Jul 21, 2020
1 parent 340efda commit 1e7e05a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/graceful_shutdown_signal_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var (
// ShutdownSignals ...
ShutdownSignals = []os.Signal{os.Interrupt, os.Kill, syscall.SIGKILL, syscall.SIGSTOP,
syscall.SIGHUP, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGILL, syscall.SIGTRAP,
syscall.SIGABRT, syscall.SIGSYS}
syscall.SIGABRT, syscall.SIGSYS, syscall.SIGTERM}

// DumpHeapShutdownSignals ...
DumpHeapShutdownSignals = []os.Signal{syscall.SIGQUIT, syscall.SIGILL,
Expand Down
2 changes: 1 addition & 1 deletion config/graceful_shutdown_signal_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var (
// ShutdownSignals ...
ShutdownSignals = []os.Signal{os.Interrupt, os.Kill, syscall.SIGKILL,
syscall.SIGHUP, syscall.SIGINT, syscall.SIGQUIT, syscall.SIGILL, syscall.SIGTRAP,
syscall.SIGABRT}
syscall.SIGABRT, syscall.SIGTERM}

// DumpHeapShutdownSignals ...
DumpHeapShutdownSignals = []os.Signal{syscall.SIGQUIT, syscall.SIGILL, syscall.SIGTRAP, syscall.SIGABRT}
Expand Down

0 comments on commit 1e7e05a

Please sign in to comment.