From b29e7ec40ca4934c2a5bf7f59ad3d1890dfda94f Mon Sep 17 00:00:00 2001 From: Radek Simko Date: Mon, 8 Nov 2021 06:31:36 +0000 Subject: [PATCH] internal: Avoid logging when capacity is reached (#694) --- internal/terraform/module/module_loader.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/terraform/module/module_loader.go b/internal/terraform/module/module_loader.go index 428a44c12..d434ecd4d 100644 --- a/internal/terraform/module/module_loader.go +++ b/internal/terraform/module/module_loader.go @@ -115,7 +115,6 @@ func (ml *moduleLoader) run(ctx context.Context) { // This may happen when op was received from the channel // and dispatcher checked capacity before loading counters // were decremented. - ml.logger.Println("no available capacity, retrying dispatch") time.Sleep(100 * time.Millisecond) ml.queue.PushOp(nextOp) go ml.tryDispatchingModuleOp()