summary refs log tree commit homepage
diff options
context:
space:
mode:
-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).