- replace all goroutine and AfterFunc with recover version
This commit is contained in:
@@ -14,7 +14,7 @@ func Init() {
|
||||
|
||||
func RefreshEbaiRealMobile() {
|
||||
ebai.CurPurchaseHandler.RefreshRealMobile(jxcontext.AdminCtx, time.Now().Add(-6*time.Hour), utils.DefaultTimeValue, true, true)
|
||||
time.AfterFunc(1*time.Hour, func() {
|
||||
utils.AfterFuncWithRecover(1*time.Hour, func() {
|
||||
RefreshEbaiRealMobile()
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user