Browse Source

update

master
DengBiao 2 years 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" _ "net/http/pprof"
"os" "os"
"os/signal" "os/signal"
"runtime"
"syscall" "syscall"


"go.uber.org/zap" "go.uber.org/zap"
@@ -34,7 +33,7 @@ func main() {
server.GracefulStop() server.GracefulStop()
}() }()


runtime.SetBlockProfileRate(1)
//runtime.SetBlockProfileRate(1)
go func() { go func() {
http.ListenAndServe(":10001", nil) http.ListenAndServe(":10001", nil)
}() }()


Loading…
Cancel
Save