This commit is contained in:
parent
9e3d5de744
commit
0e36036b11
|
@ -287,6 +287,7 @@ func (l *AuthBusinessValidator) EnsureMomentCreateTimesNotReachedDailyUpperbound
|
|||
return
|
||||
}
|
||||
|
||||
logger.Info("momentCreateTimes: %v, maxDailyMomentCreateTimes : %v", l.momentCreateTimes.CreateTimes, maxDailyMomentCreateTimes)
|
||||
if l.momentCreateTimes.CreateTimes >= int64(maxDailyMomentCreateTimes) {
|
||||
logger.Error("the moment create times of this mid has reached its daily upperbound")
|
||||
l.ec = errcode.ErrCodeMomentCreateTimesReachedDailyUpperbound
|
||||
|
|
Loading…
Reference in New Issue