mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 00:35:02 +08:00
add cpu and mem pprof
This commit is contained in:
@@ -290,7 +290,7 @@ func runServer(cmd *Command, args []string) bool {
|
||||
}()
|
||||
}
|
||||
|
||||
OnInterrupt(func() {
|
||||
util.OnInterrupt(func() {
|
||||
volumeServer.Shutdown()
|
||||
pprof.StopCPUProfile()
|
||||
})
|
||||
|
Reference in New Issue
Block a user