mirror of
https://github.com/docker/compose.git
synced 2026-10-12 02:13:08 +00:00
down and stop rebuilt their per-container limiter on every service visit, so independent services could each spend a full budget concurrently -- the same leak already fixed on restart. start's InDependencyOrder call had no concurrency option, leaving every `up`'s container-start phase fully unbounded. wait.go goes back to unbounded on purpose: ContainerWait blocks per container indefinitely, so capping it would serialize waits meant to run concurrently. Also extracts the shared per-container fan-out into one helper reused by restart/down/stop, and dedupes the concurrency-guard test fixtures. Signed-off-by: Guillaume Lours <[email protected]>