mirror of
https://github.com/minio/minio.git
synced 2025-04-06 12:50:34 -04:00
update cleanupRoutine comment (#17102)
This commit is contained in:
parent
5c83c9724f
commit
6e27264c6b
@ -119,7 +119,7 @@ func (l *logOnceType) logOnceIf(ctx context.Context, err error, id string, errKi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cleanup the map every 30 minutes so that the log message is printed again for the user to notice.
|
// Cleanup the map every one hour so that the log message is printed again for the user to notice.
|
||||||
func (l *logOnceType) cleanupRoutine() {
|
func (l *logOnceType) cleanupRoutine() {
|
||||||
for {
|
for {
|
||||||
time.Sleep(time.Hour)
|
time.Sleep(time.Hour)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user