diff --git a/api/models/system.go b/api/models/system.go index 7bbac700f0..d33de0c30b 100644 --- a/api/models/system.go +++ b/api/models/system.go @@ -115,7 +115,7 @@ func maxAppConcurrency() (int, error) { } for _, me := range m { - if m.HasExternalPorts() { + if len(me.ExternalPorts()) > 0 { entry := f.Entry(me.Name) if entry != nil && entry.Count > max {