Skip to content

Commit

Permalink
Use different port ranges for each process type
Browse files Browse the repository at this point in the history
  • Loading branch information
lstoll committed Dec 25, 2011
1 parent fcfa913 commit a66157d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/foreman/engine.rb
Expand Up @@ -58,7 +58,7 @@ def spawn_processes

procfile.entries.each do |entry|
reader, writer = IO.pipe
entry.spawn(concurrency[entry.name], writer, @directory, @environment, base_port).each do |process|
entry.spawn(concurrency[entry.name], writer, @directory, @environment, port_for(entry, 1, base_port)).each do |process|
running_processes[process.pid] = process
readers[process] = reader
end
Expand Down

0 comments on commit a66157d

Please sign in to comment.