fix bug, num request should be zeroed, better logging

This commit is contained in:
Sam 2013-11-15 16:56:21 +11:00
parent 2c1104237c
commit 3219afd666
1 changed files with 4 additions and 1 deletions

View File

@ -49,8 +49,11 @@ module Middleware::UnicornOobgc
end
end
else
puts "OobGC, GC live num adjusted, GC was not avoided: #{live_num}"
puts "OobGC, GC live num adjusted, GC was not avoided: #{live_num} reqs since GC: #{@num_requests} largest: #{@previous_deltas.max}"
@num_requests = 0
@gc_live_num = live_num
end
end