mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-05-03 00:12:48 +08:00
test cron
This commit is contained in:
parent
389271c00d
commit
2cbecf439e
@ -30,9 +30,9 @@ func StartCronTask() {
|
|||||||
if err := DeleteMongoMsgAndResetRedisSeq(operationID, userID); err != nil {
|
if err := DeleteMongoMsgAndResetRedisSeq(operationID, userID); err != nil {
|
||||||
log.NewError(operationID, utils.GetSelfFuncName(), err.Error(), userID)
|
log.NewError(operationID, utils.GetSelfFuncName(), err.Error(), userID)
|
||||||
}
|
}
|
||||||
if err := checkMaxSeqWithMongo(operationID, userID, constant.WriteDiffusion); err != nil {
|
//if err := checkMaxSeqWithMongo(operationID, userID, constant.WriteDiffusion); err != nil {
|
||||||
log.NewError(operationID, utils.GetSelfFuncName(), userID, err)
|
// log.NewError(operationID, utils.GetSelfFuncName(), userID, err)
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
log.NewError(operationID, utils.GetSelfFuncName(), err.Error())
|
log.NewError(operationID, utils.GetSelfFuncName(), err.Error())
|
||||||
@ -52,9 +52,9 @@ func StartCronTask() {
|
|||||||
if err := ResetUserGroupMinSeq(operationID, groupID, userIDList); err != nil {
|
if err := ResetUserGroupMinSeq(operationID, groupID, userIDList); err != nil {
|
||||||
log.NewError(operationID, utils.GetSelfFuncName(), err.Error(), groupID, userIDList)
|
log.NewError(operationID, utils.GetSelfFuncName(), err.Error(), groupID, userIDList)
|
||||||
}
|
}
|
||||||
if err := checkMaxSeqWithMongo(operationID, groupID, constant.ReadDiffusion); err != nil {
|
//if err := checkMaxSeqWithMongo(operationID, groupID, constant.ReadDiffusion); err != nil {
|
||||||
log.NewError(operationID, utils.GetSelfFuncName(), groupID, err)
|
// log.NewError(operationID, utils.GetSelfFuncName(), groupID, err)
|
||||||
}
|
//}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
log.NewError(operationID, utils.GetSelfFuncName(), err.Error())
|
log.NewError(operationID, utils.GetSelfFuncName(), err.Error())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user