From: Tom Hughes Date: Sun, 26 Apr 2009 11:28:55 +0000 (+0000) Subject: Do a GC run every 10 requests. X-Git-Tag: live~7494 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/aadb91861a50623ac616dc757e49254ac6bf6f81?hp=83aa2655f516392ad7fb52e7bfd8c6fc2ee90bb9 Do a GC run every 10 requests. --- diff --git a/public/dispatch.fcgi b/public/dispatch.fcgi index 3169ba267..cd76b6113 100755 --- a/public/dispatch.fcgi +++ b/public/dispatch.fcgi @@ -21,4 +21,4 @@ require File.dirname(__FILE__) + "/../config/environment" require 'fcgi_handler' -RailsFCGIHandler.process! +RailsFCGIHandler.process! nil, 10