Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modified
padrino start
to take an extra --options
(-O
) parameter
to pass options to the rack handler. For instance, with `puma` you can now do: `bundle exec padrino s -O Threads=3:16` and the server will start with 3 to 16 threads. This implementation follows the same syntax that [rackup](https://github.com/rack/rack/blob/master/lib/rack/server.rb\#L100) uses for compatibility. Also implemented --server_options to print out the supported options for the selected handler (application server). This has been requested a couple of times, the latest in #1451. I'd still recommend people to run their applications through the application server directly -e.g., puma, unicorn, thin...- instead of using this but it might come in handy for development.
- Loading branch information
Dario Cravero
committed
Oct 14, 2013
1 parent
8a8cb19
commit 5fe35cc
Showing
2 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters