Skip to content

Commit

Permalink
internal: Avoid logging when capacity is reached
Browse files Browse the repository at this point in the history
  • Loading branch information
radeksimko committed Nov 3, 2021
1 parent e8740de commit f393f00
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 f393f00

Please sign in to comment.