mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 06:50:40 +02:00
add cpu and mem pprof
This commit is contained in:
1 parent
2c7dad589d
commit
1fbb8723dc
7 files changed
+46
-17
No files matched your search
@@ -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