关闭PPROF
This commit is contained in:
@@ -15,8 +15,8 @@ import (
|
||||
"git.rosy.net.cn/jx-callback/business/partner/putils"
|
||||
"git.rosy.net.cn/jx-callback/globals"
|
||||
|
||||
_ "net/http/pprof"
|
||||
"net/http"
|
||||
// _ "net/http/pprof"
|
||||
// "net/http"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -202,9 +202,9 @@ func GetFilterStoreList(storeList []*cms.StoreExt, vendorMap, storeIDMap map[int
|
||||
}
|
||||
|
||||
func StartOrEndOpStore(ctx *jxcontext.Context, isStart bool, vendorIDList []int, storeIDList []int, startTime, endTime int16, isAsync, isContinueWhenError bool) (retVal interface{}, err error) {
|
||||
go func() {
|
||||
http.ListenAndServe("127.0.0.1:8086", nil)
|
||||
}()
|
||||
// go func() {
|
||||
// http.ListenAndServe("127.0.0.1:8086", nil)
|
||||
// }()
|
||||
storeList, err := GetStoreList(ctx)
|
||||
vendorMap := make(map[int]bool)
|
||||
for _, vendorID := range vendorIDList {
|
||||
|
||||
Reference in New Issue
Block a user