SendStoreMessage数量少时任务不管理
This commit is contained in:
@@ -709,7 +709,7 @@ func SendStoreMessage(ctx *jxcontext.Context, title, content string, storeIDs []
|
||||
_, err = dao.UpdateEntity(db, msgStatus)
|
||||
return nil, err
|
||||
}, msgStatusList)
|
||||
tasksch.ManageTask(rootTask).Run()
|
||||
tasksch.HandleTask(rootTask, nil, len(msgStatusList) > 5).Run()
|
||||
|
||||
if !isAsync {
|
||||
_, err = rootTask.GetResult(0)
|
||||
|
||||
Reference in New Issue
Block a user