stats: fix comment

This commit is contained in:
Stanislav Chzhen 2023-02-16 18:22:52 +03:00
parent ddf1930c84
commit a8479c3ed4
1 changed files with 2 additions and 1 deletions

View File

@ -443,7 +443,8 @@ func (s *StatsCtx) periodicFlush() {
log.Debug("periodic flushing finished")
}
// s.lock is expected to be locked.
// setLimitLocked sets the limit interval without locking. For internal use
// only.
//
// TODO(s.chzhen): Remove it when migration to the new API is over.
func (s *StatsCtx) setLimitLocked(limitDays int) {