about summary refs log tree commit homepage
path: root/lib
diff options
context:
space:
mode:
authorzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-11-15 22:16:44 +0000
committerzedshaw <zedshaw@19e92222-5c0b-0410-8929-a290d50e31e9>2006-11-15 22:16:44 +0000
commit0cadabe74adcfc35499774748f7c38dabe307aab (patch)
tree0536dc1f596e2321ce381a15421d9126ab070a1b /lib
parent26c2905d57a586cad3c783d3e0c01ec7b8961c11 (diff)
downloadunicorn-0cadabe74adcfc35499774748f7c38dabe307aab.tar.gz
git-svn-id: svn+ssh://rubyforge.org/var/svn/mongrel/trunk@384 19e92222-5c0b-0410-8929-a290d50e31e9
Diffstat (limited to 'lib')
-rw-r--r--lib/mongrel/rails.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mongrel/rails.rb b/lib/mongrel/rails.rb
index e789768..3e34e54 100644
--- a/lib/mongrel/rails.rb
+++ b/lib/mongrel/rails.rb
@@ -78,7 +78,7 @@ module Mongrel
 
             log_threads_waiting_for(@active_request_path || request.params["PATH_INFO"]) if $mongrel_debug_client
 
-            @guard.synchronize(:EX) {
+            @guard.synchronize {
               @active_request_path = request.params["PATH_INFO"]
               Dispatcher.dispatch(cgi, ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS, response.body)
               @active_request_path = nil
@@ -106,7 +106,7 @@ module Mongrel
       # sometimes you get exceptions.  In that case just do a real restart.
       def reload!
         begin
-          @guard.synchronize(:EX) {
+          @guard.synchronize {
             $".replace $orig_dollar_quote
             GC.start
             Dispatcher.reset_application!