Browse Source

update

master
DengBiao 1 year ago
parent
commit
fd82d7e4be
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      cmd/business/main.go

+ 1
- 2
cmd/business/main.go View File

@@ -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)
}()


Loading…
Cancel
Save