|
|
@@ -13,7 +13,6 @@ import ( |
|
|
|
_ "net/http/pprof" |
|
|
|
"os" |
|
|
|
"os/signal" |
|
|
|
"runtime" |
|
|
|
"syscall" |
|
|
|
|
|
|
|
"go.uber.org/zap" |
|
|
@@ -34,7 +33,7 @@ func main() { |
|
|
|
server.GracefulStop() |
|
|
|
}() |
|
|
|
|
|
|
|
runtime.SetBlockProfileRate(1) |
|
|
|
//runtime.SetBlockProfileRate(1) |
|
|
|
go func() { |
|
|
|
http.ListenAndServe(":10001", nil) |
|
|
|
}() |
|
|
|