about summary refs log tree commit homepage
path: root/bin
diff options
context:
space:
mode:
authorzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-03-22 03:31:30 +0000
committerzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-03-22 03:31:30 +0000
commit8287106809a82ccd1afba674740486946509b856 (patch)
treeaae22400154bda1e144ff6903d3455facd680069 /bin
parent2bb255e0d44026fcb80bfe05d46e42e2e74af26c (diff)
downloadunicorn-8287106809a82ccd1afba674740486946509b856.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@120 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'bin')
-rw-r--r--bin/mongrel_rails4
-rw-r--r--bin/mongrel_rails_svc4
2 files changed, 4 insertions, 4 deletions
diff --git a/bin/mongrel_rails b/bin/mongrel_rails
index 1682ae5..95d0970 100644
--- a/bin/mongrel_rails
+++ b/bin/mongrel_rails
@@ -14,8 +14,8 @@ class Start < GemPlugin::Plugin "/commands"
       ['-a', '--address ADDR', "Address to bind to", :@address, "0.0.0.0"],
       ['-l', '--log FILE', "Where to write log messages", :@log_file, "log/mongrel.log"],
       ['-P', '--pid FILE', "Where to write the PID", :@pid_file, "log/mongrel.pid"],
-      ['-n', '--num-procs INT', "Number of processor threads to use", :@num_procs, 20],
-      ['-t', '--timeout SECONDS', "Timeout all requests after SECONDS time", :@timeout, 120],
+      ['-n', '--num-procs INT', "Number of processor threads to use", :@num_procs, 1024],
+      ['-t', '--timeout SECONDS', "Timeout all requests after SECONDS time", :@timeout, 0],
       ['-m', '--mime PATH', "A YAML file that lists additional MIME types", :@mime_map, nil],
       ['-c', '--chdir PATH', "Change to dir before starting (will be expanded)", :@cwd, Dir.pwd],
       ['-r', '--root PATH', "Set the document root (default 'public')", :@docroot, "public"],
diff --git a/bin/mongrel_rails_svc b/bin/mongrel_rails_svc
index 5e19e82..5fa4caa 100644
--- a/bin/mongrel_rails_svc
+++ b/bin/mongrel_rails_svc
@@ -203,8 +203,8 @@ if ARGV[0] == 'service'
     :ip           => '0.0.0.0',
     :port         => 3000,
     :mime_map     => nil,
-    :num_procs    => 20,
-    :timeout      => 120,
+    :num_procs    => 1024,
+    :timeout      => 0,
     :cpu          => nil
   }