summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
bf31791)
anyway plus the run_gc! method in the fastcgi dispatcher is a disaster
as it disables GC completely except for when it is forced by making a
call to the run_gc! method.
# Restart if we've hit our memory limit
if resident_size > 512
# 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!
-OpenStreetMapFCGIHandler.process! nil, 10
+OpenStreetMapFCGIHandler.process!