From 073bb378cb599b970528bc127b2f0dc4caf9baad Mon Sep 17 00:00:00 2001 From: Peter Mattis Date: Thu, 5 Apr 2018 13:45:08 -0400 Subject: [PATCH] stopper: downgrade a spammy log message to a log event Downgrade a log message about "throttling async task" to a log event. This occurs easily for the timeseries usage of `RunLimitedAsync` task. Fixes #24512 Release note: None --- pkg/util/stop/stopper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/util/stop/stopper.go b/pkg/util/stop/stopper.go index 18c6428d13bd..dc95d4f3b0d9 100644 --- a/pkg/util/stop/stopper.go +++ b/pkg/util/stop/stopper.go @@ -288,7 +288,7 @@ func (s *Stopper) RunLimitedAsyncTask( if !wait { return ErrThrottled } - log.Infof(ctx, "stopper throttling task from %s due to semaphore", taskName) + log.Eventf(ctx, "stopper throttling task from %s due to semaphore", taskName) // Retry the select without the default. select { case sem <- struct{}{}: