From 311f39d5ae4d83ba6d279122df2c3f43d37916b7 Mon Sep 17 00:00:00 2001 From: Rosy-zhudan Date: Tue, 27 Aug 2019 09:18:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E8=B0=83=E8=AF=95=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/jxstore/misc/misc2.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/business/jxstore/misc/misc2.go b/business/jxstore/misc/misc2.go index 45fcb09e2..a21ea9c7f 100644 --- a/business/jxstore/misc/misc2.go +++ b/business/jxstore/misc/misc2.go @@ -14,9 +14,6 @@ import ( "git.rosy.net.cn/jx-callback/business/partner" "git.rosy.net.cn/jx-callback/business/partner/putils" "git.rosy.net.cn/jx-callback/globals" - - _ "net/http/pprof" - "net/http" ) const ( @@ -202,9 +199,6 @@ 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) - }() storeList, err := GetStoreList(ctx) vendorMap := make(map[int]bool) for _, vendorID := range vendorIDList { @@ -265,7 +259,6 @@ func StartOrEndOpStoreEx(ctx *jxcontext.Context, isStart bool, startTime, endTim if isStart { AddOrDelExtraStoreOptime(ctx, vendorID, storeID, vendorStoreID, &storeListValue.Store, startOpStoreTime, endOpStoreTime, true) } - time.Sleep(time.Second * 3) } } }