mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-15 10:38:35 +02:00
refacotr: move signal handling and pprof to grace package
This commit is contained in:
1 parent
2a7957b4ca
commit
6850d28d6b
13 files changed
+26
-29
No files matched your search
@@ -1,4 +1,4 @@
|
||||
package util
|
||||
package grace
|
||||
|
||||
import (
|
||||
"os"
|
||||
@@ -1,6 +1,6 @@
|
||||
// +build !plan9
|
||||
|
||||
package util
|
||||
package grace
|
||||
|
||||
import (
|
||||
"os"
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// +build plan9
|
||||
|
||||
package util
|
||||
package grace
|
||||
|
||||
func OnInterrupt(fn func()) {
|
||||
}
|
||||
Reference in new issue
Block a user