Skip to content
Permalink
Browse files

Merge files documenting configuration options (#1883)

  • Loading branch information
Jesus authored and nateberkopec committed Aug 6, 2019
1 parent db4b538 commit 6dd084bd3b245e13926fbd027185d451d95140f8
Showing with 241 additions and 286 deletions.
  1. +3 −0 README.md
  2. +0 −209 examples/config.rb
  3. +2 −0 lib/puma/app/status.rb
  4. +236 −77 lib/puma/dsl.rb
@@ -66,6 +66,9 @@ configure { set :server, :puma }

Puma provides numerous options. Consult `puma -h` (or `puma --help`) for a full list of CLI options, or see [dsl.rb](https://github.com/puma/puma/blob/master/lib/puma/dsl.rb).

You can also find several configuration examples as part of the
[test](test/config) suite.

### Thread Pool

Puma uses a thread pool. You can set the minimum and maximum number of threads that are available in the pool with the `-t` (or `--threads`) flag:

This file was deleted.

@@ -4,6 +4,8 @@

module Puma
module App
# Check out {#call}'s source code to see what actions this web application
# can respond to.
class Status
def initialize(cli)
@cli = cli

0 comments on commit 6dd084b

Please sign in to comment.
You can’t perform that action at this time.