Remove old code to exit after 10000 requests as the memory limit code

should do a better job of controlling things.
This commit is contained in:
Tom Hughes 2009-04-26 23:14:20 +00:00
parent 85b3f7ffbc
commit 72b05157ae
2 changed files with 0 additions and 21 deletions

View file

@ -2,7 +2,3 @@
if Process.const_defined?(:RLIMIT_AS)
Process.setrlimit Process::RLIMIT_AS, 1024*1024*1024, Process::RLIM_INFINITY
end
# Force a restart after every 10000 requests
COUNT = 0
MAX_COUNT = 10000