Skip to content

Commit

Permalink
internal: Avoid logging when capacity is reached (#694)
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko authored Nov 8, 2021
1 parent 8aceec7 commit b29e7ec
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion internal/terraform/module/module_loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit b29e7ec

Please sign in to comment.