This commit is contained in:
Leufolium 2024-02-07 13:07:34 +08:00
parent 9e3d5de744
commit 0e36036b11
1 changed files with 1 additions and 0 deletions

View File

@ -287,6 +287,7 @@ func (l *AuthBusinessValidator) EnsureMomentCreateTimesNotReachedDailyUpperbound
return return
} }
logger.Info("momentCreateTimes: %v, maxDailyMomentCreateTimes : %v", l.momentCreateTimes.CreateTimes, maxDailyMomentCreateTimes)
if l.momentCreateTimes.CreateTimes >= int64(maxDailyMomentCreateTimes) { if l.momentCreateTimes.CreateTimes >= int64(maxDailyMomentCreateTimes) {
logger.Error("the moment create times of this mid has reached its daily upperbound") logger.Error("the moment create times of this mid has reached its daily upperbound")
l.ec = errcode.ErrCodeMomentCreateTimesReachedDailyUpperbound l.ec = errcode.ErrCodeMomentCreateTimesReachedDailyUpperbound