Skip to content

Commit

Permalink
Allow puma config to overwrite threads and workers
Browse files Browse the repository at this point in the history
  • Loading branch information
hasghari committed Jul 4, 2020
1 parent 10eb97b commit fca1942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,10 +256,10 @@ if test -e .pumaenv; then
fi
if test -e Gemfile && bundle exec puma -V &>/dev/null; then
exec bundle exec puma -C $CONFIG --tag puma-dev:%s -w $WORKERS -t 0:$THREADS -b unix:%s
exec bundle exec puma -w $WORKERS -t 0:$THREADS -C $CONFIG --tag puma-dev:%s -b unix:%s
fi
exec puma -C $CONFIG --tag puma-dev:%s -w $WORKERS -t 0:$THREADS -b unix:%s'
exec puma -w $WORKERS -t 0:$THREADS -C $CONFIG --tag puma-dev:%s -b unix:%s'
`

func (pool *AppPool) LaunchApp(name, dir string) (*App, error) {
Expand Down

0 comments on commit fca1942

Please sign in to comment.