MCPcopy
hub / github.com/docker/compose / WithMaxConcurrency

Function WithMaxConcurrency

pkg/compose/compose.go:156–161  ·  view source on GitHub ↗

WithMaxConcurrency defines upper limit for concurrent operations against engine API

(maxConcurrency int)

Source from the content-addressed store, hash-verified

154
155// WithMaxConcurrency defines upper limit for concurrent operations against engine API
156func WithMaxConcurrency(maxConcurrency int) Option {
157 return func(s *composeService) error {
158 s.maxConcurrency = maxConcurrency
159 return nil
160 }
161}
162
163// WithDryRun configure Compose to run without actually applying changes
164func WithDryRun(s *composeService) error {

Callers 1

RootCommandFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected