Skip to content

Commit

Permalink
Merge pull request #1025 from ninoseki/change-puma-default-threads
Browse files Browse the repository at this point in the history
chore: change Puma's default max threads [skip ci]
  • Loading branch information
ninoseki authored Jan 14, 2024
2 parents dee93e6 + 49d8246 commit 065116b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ Options:
[--host=HOST] # Hostname to listen on
# Default: localhost
[--threads=THREADS] # min:max threads to use
# Default: 0:5
# Default: 0:3
[--verbose], [--no-verbose] # Don't report each request
# Default: false
[--worker-timeout=N] # Worker timeout value (in seconds)
Expand Down
2 changes: 1 addition & 1 deletion lib/mihari/commands/web.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def included(thor)
desc "web", "Start the web app"
method_option :port, type: :numeric, default: 9292, desc: "Port to listen on"
method_option :host, type: :string, default: "localhost", desc: "Hostname to listen on"
method_option :threads, type: :string, default: "0:5", desc: "min:max threads to use"
method_option :threads, type: :string, default: "0:3", desc: "min:max threads to use"
method_option :verbose, type: :boolean, default: false, desc: "Don't report each request"
method_option :worker_timeout, type: :numeric, default: 60, desc: "Worker timeout value (in seconds)"
method_option :open, type: :boolean, default: true, desc: "Whether to open the app in browser or not"
Expand Down

0 comments on commit 065116b

Please sign in to comment.