more diags

This commit is contained in:
Sam 2013-11-15 17:26:58 +11:00
parent a92ada0493
commit c1d7bbdc79
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ module Middleware::UnicornOobgc
if @gc_live_num && @num_requests > MIN_REQUESTS_PER_OOBGC
largest = @previous_deltas.max
if (largest * 3) + new_live_num > @gc_live_num
puts "OobGC invoked"
puts "OobGC invoked req count: #{@num_requests} largest delta: #{largest}"
GC.start
@num_requests = 0
end