Skip to content

Commit

Permalink
check that the process has external ports not the whole app
Browse files Browse the repository at this point in the history
  • Loading branch information
ddollar committed Oct 14, 2015
1 parent 9bd17a9 commit 814683b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/models/system.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 814683b

Please sign in to comment.