mirror of
https://github.com/docker/compose.git
synced 2026-11-17 21:57:19 +00:00
Sampling a container takes about a second on the daemon side, and one goroutine was started per container on every refresh: with all the projects of a busy host that is hundreds of concurrent calls. Bound them to 32. A container that cannot be sampled is now shown without usage, like a stopped one, instead of aborting the refresh of all the others. An interrupted command is still reported as such, not rendered as containers without usage. Point containerUsage to the docker/cli helpers it follows, and cover the --no-stream path of runStatsProjects. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: Guillaume Lours <glours@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| cmdtrace | ||
| compatibility | ||
| compose | ||
| display | ||
| formatter | ||
| prompt | ||
| main.go | ||