forked from External/ergo
fix #1975
Provide a nondestructive stack trace dump option even when the http pprof listener is disabled
This commit is contained in:
parent
77de026961
commit
d17faf6bcb
3 changed files with 28 additions and 5 deletions
|
|
@ -18,4 +18,8 @@ var (
|
|||
syscall.SIGTERM,
|
||||
syscall.SIGQUIT,
|
||||
}
|
||||
|
||||
ServerTracebackSignals = []os.Signal{
|
||||
syscall.SIGUSR1,
|
||||
}
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue