mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
Introduce preload flag
This is nice for we that like using the CLI.
This commit is contained in:
parent
9b780bacb6
commit
94b825f56c
1 changed files with 6 additions and 2 deletions
|
@ -236,6 +236,10 @@ module Puma
|
||||||
@options[:pidfile] = arg
|
@options[:pidfile] = arg
|
||||||
end
|
end
|
||||||
|
|
||||||
|
o.on "--preload", "Preload the app. Cluster mode only" do
|
||||||
|
@options[:preload_app] = true
|
||||||
|
end
|
||||||
|
|
||||||
o.on "-q", "--quiet", "Quiet down the output" do
|
o.on "-q", "--quiet", "Quiet down the output" do
|
||||||
@options[:quiet] = true
|
@options[:quiet] = true
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue