1
0
mirror of https://github.com/minio/minio synced 2024-07-08 19:56:05 +00:00

update cleanupRoutine comment (#17102)

This commit is contained in:
jiuker 2023-04-28 16:11:51 +08:00 committed by GitHub
parent 5c83c9724f
commit 6e27264c6b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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() {
for {
time.Sleep(time.Hour)