stats: fix comment
This commit is contained in:
parent
ddf1930c84
commit
a8479c3ed4
|
@ -443,7 +443,8 @@ func (s *StatsCtx) periodicFlush() {
|
||||||
log.Debug("periodic flushing finished")
|
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.
|
// TODO(s.chzhen): Remove it when migration to the new API is over.
|
||||||
func (s *StatsCtx) setLimitLocked(limitDays int) {
|
func (s *StatsCtx) setLimitLocked(limitDays int) {
|
||||||
|
|
Loading…
Reference in New Issue