mirror of
https://github.com/pgsty/minio.git
synced 2026-03-16 17:53:43 +01:00
update cleanupRoutine comment (#17102)
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user