summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEvan Weaver <eweaver@twitter.com>2009-02-01 17:03:46 -0800
committerEvan Weaver <eweaver@twitter.com>2009-02-01 17:03:46 -0800
commitbddf65ad297f58e1aa6074777bd434df0100b20e (patch)
tree436e89b8623317856273617678a67bd2cf4c4acb
parent108218a89c663af1c14cc6ff376464e71639f974 (diff)
-rw-r--r--examples/simple_rack.rb6
-rw-r--r--lib/mongrel.rb4
2 files changed, 2 insertions, 8 deletions
diff --git a/examples/simple_rack.rb b/examples/simple_rack.rb
deleted file mode 100644
index dcdb30b..0000000
--- a/examples/simple_rack.rb
+++ /dev/null
@@ -1,6 +0,0 @@
-require 'rubygems'
-require 'rack'
-
-@app = proc { [200, {}, "tada"] }
-
-@urls = URLMap('\test' => @app)
diff --git a/lib/mongrel.rb b/lib/mongrel.rb
index 515ae2e..dceb138 100644
--- a/lib/mongrel.rb
+++ b/lib/mongrel.rb
@@ -61,8 +61,8 @@ module Mongrel
       :host => '0.0.0.0',
       :port => 8080,
       :logger => Logger.new(STDERR),
-      :max_queued_threads => 20,
-      :max_concurrent_threads => 20      
+      :max_queued_threads => 12,
+      :max_concurrent_threads => 4
     }
 
     # Creates a working server on host:port (strange things happen if port isn't a Number).