diff --git a/docs/usage.md b/docs/usage.md index 8cba9ccd..3450ddfc 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -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) diff --git a/lib/mihari/commands/web.rb b/lib/mihari/commands/web.rb index 4da4de3c..973deb35 100644 --- a/lib/mihari/commands/web.rb +++ b/lib/mihari/commands/web.rb @@ -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"