Merge pull request 'w' (#113) from feat-IRONFANS-53-20240205-Robin into main
Reviewed-on: #113
This commit is contained in:
commit
4c9c70d334
|
@ -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