1
0
Fork 0
forked from External/ergo
Provide a nondestructive stack trace dump option even when the http pprof
listener is disabled
This commit is contained in:
Shivaram Lingamneni 2022-12-11 00:53:12 -05:00
parent 77de026961
commit d17faf6bcb
3 changed files with 28 additions and 5 deletions

View file

@ -18,4 +18,8 @@ var (
syscall.SIGTERM,
syscall.SIGQUIT,
}
ServerTracebackSignals = []os.Signal{
syscall.SIGUSR1,
}
)