Limit goroutines in loop

Proprietary

Find go statements inside for/range loops. Unbounded goroutine creation can cause resource exhaustion; consider using a worker pool.

org.openrewrite.golang.codequality.LimitGoroutinesInLoop
mod run . --recipe=org.openrewrite.golang.codequality.LimitGoroutinesInLoop

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.