From 73fbb43157008a81ffb8b2d6bf98fbd3e9b94654 Mon Sep 17 00:00:00 2001 From: Rosy-zhudan Date: Mon, 26 Aug 2019 17:48:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=BC=80=E8=B0=83=E8=AF=95PPROF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/misc/misc2.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/business/jxstore/misc/misc2.go b/business/jxstore/misc/misc2.go index 0fef29d27..6b6f9b3a2 100644 --- a/business/jxstore/misc/misc2.go +++ b/business/jxstore/misc/misc2.go @@ -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 {