X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/85b3f7ffbc3d32a0269ef0b825e91eed1f17f4e7..11b1f7d739f7d85c8a65c2a8337394b333c8eee1:/public/dispatch.fcgi diff --git a/public/dispatch.fcgi b/public/dispatch.fcgi index f21c953a6..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 @@ -50,4 +46,4 @@ protected end end -OpenStreetMapFCGIHandler.process! nil, 10 +OpenStreetMapFCGIHandler.process!