mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-09-30 19:50:08 +08:00
test cron
This commit is contained in:
parent
1b3fbf56d0
commit
953e284566
@ -26,6 +26,7 @@ func StartCronTask() {
|
||||
userIDList, err := im_mysql_model.SelectAllUserID()
|
||||
if err == nil {
|
||||
log.NewDebug(operationID, utils.GetSelfFuncName(), "userIDList: ", userIDList)
|
||||
userIDList = []string{"4158779020"}
|
||||
for _, userID := range userIDList {
|
||||
if err := DeleteMongoMsgAndResetRedisSeq(operationID, userID); err != nil {
|
||||
log.NewError(operationID, utils.GetSelfFuncName(), err.Error(), userID)
|
||||
|
Loading…
x
Reference in New Issue
Block a user