[DRE-commits] r5004 - trunk/redmine/debian/patches
Jérémy Lal
kapouer-guest at alioth.debian.org
Wed Mar 24 11:28:40 UTC 2010
Author: kapouer-guest
Date: 2010-03-24 11:28:40 +0000 (Wed, 24 Mar 2010)
New Revision: 5004
Added:
trunk/redmine/debian/patches/0021-fix-fcgi_handler-hanging.patch
Modified:
trunk/redmine/debian/patches/series
Log:
Finally, a way to fix fcgi hanging process !
Added: trunk/redmine/debian/patches/0021-fix-fcgi_handler-hanging.patch
===================================================================
--- trunk/redmine/debian/patches/0021-fix-fcgi_handler-hanging.patch (rev 0)
+++ trunk/redmine/debian/patches/0021-fix-fcgi_handler-hanging.patch 2010-03-24 11:28:40 UTC (rev 5004)
@@ -0,0 +1,13 @@
+--- /dev/null
++++ b/config/initializers/fix_fcgi_handler.rb
+@@ -0,0 +1,10 @@
++class RailsFCGIHandler
++ protected
++ def exit_now_handler(signal)
++ # close active connections or else fcgi process hangs in rails 2.2
++ ActiveRecord::Base.clear_active_connections!
++ dispatcher_log :info, "asked to stop immediately"
++ exit
++ end
++end
++
Modified: trunk/redmine/debian/patches/series
===================================================================
--- trunk/redmine/debian/patches/series 2010-03-24 00:03:47 UTC (rev 5003)
+++ trunk/redmine/debian/patches/series 2010-03-24 11:28:40 UTC (rev 5004)
@@ -18,3 +18,4 @@
0018-engines-rails2.2.patch
0019-no-batch_size-in-rails2.2.patch
0020-application-rb-for-rails2.2.patch
+0021-fix-fcgi_handler-hanging.patch
More information about the Pkg-ruby-extras-commits
mailing list