fix bug, num request should be zeroed, better logging
This commit is contained in:
parent
2c1104237c
commit
3219afd666
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue