update zap

This commit is contained in:
wangchuxiao
2023-06-09 14:32:37 +08:00
parent 202a90ab65
commit f3ec6346e0
2 changed files with 4 additions and 5 deletions
+1 -1
View File
@@ -519,7 +519,7 @@ func (db *commonMsgDatabase) GetMsgBySeqsRange(ctx context.Context, userID strin
}
log.ZDebug(ctx, "get msgs from cache", "successMsgs", successMsgs)
if len(failedSeqs) != 0 {
log.ZDebug(ctx, "msgs not exist in redis", err, "seqs", failedSeqs)
log.ZDebug(ctx, "msgs not exist in redis", "seqs", failedSeqs)
}
// get from cache or db
prome.Add(prome.MsgPullFromRedisSuccessCounter, len(successMsgs))