mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
remove log
This commit is contained in:
parent
8a868bad58
commit
2984d649f5
@ -49,9 +49,9 @@ module Middleware::UnicornOobgc
|
|||||||
# While tuning consider printing this out, each time this happens you saved
|
# While tuning consider printing this out, each time this happens you saved
|
||||||
# a user from running a GC inline
|
# a user from running a GC inline
|
||||||
|
|
||||||
t = Time.now
|
# t = Time.now
|
||||||
GC.start
|
GC.start
|
||||||
puts "OobGC invoked req count: #{@num_requests} largest delta: #{largest} #{((Time.now - t) * 1000).to_i}ms saved"
|
# puts "OobGC invoked req count: #{@num_requests} largest delta: #{largest} #{((Time.now - t) * 1000).to_i}ms saved"
|
||||||
@num_requests = 0
|
@num_requests = 0
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user