X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e3d20bd607cee68750046375b63637d37e75cd7c..41c69b0dbe82ed041e89811490a2e630cc76551f:/public/dispatch.fcgi?ds=inline diff --git a/public/dispatch.fcgi b/public/dispatch.fcgi index d3f9adf20..3a13f230c 100755 --- a/public/dispatch.fcgi +++ b/public/dispatch.fcgi @@ -29,12 +29,8 @@ protected # Restart if we've hit our memory limit if resident_size > 512 - run_gc! - - if resident_size > 512 - dispatcher_log :info, "restarting due to memory limit" - restart! - end + dispatcher_log :info, "restarting due to memory limit" + restart! end end @@ -48,7 +44,6 @@ protected # Return resident size in megabytes return fields[1].to_i / 256 end - end -OpenStreetMapFCGIHandler.process! nil, 10 +OpenStreetMapFCGIHandler.process!