From 6e27264c6bbea7d34823a4d46fcc4ff14893e251 Mon Sep 17 00:00:00 2001 From: jiuker <2818723467@qq.com> Date: Fri, 28 Apr 2023 16:11:51 +0800 Subject: [PATCH] update cleanupRoutine comment (#17102) --- internal/logger/logonce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/logger/logonce.go b/internal/logger/logonce.go index f982265e7..6cfa9998d 100644 --- a/internal/logger/logonce.go +++ b/internal/logger/logonce.go @@ -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)