improve test
This commit is contained in:
parent
c995fd65be
commit
383b57a350
|
@ -3,6 +3,9 @@ require File.expand_path("../../config/environment", __FILE__)
|
||||||
def pretty
|
def pretty
|
||||||
puts "<before>"
|
puts "<before>"
|
||||||
puts PrettyText.cook("My pid is #{Process.pid}")
|
puts PrettyText.cook("My pid is #{Process.pid}")
|
||||||
|
GC.start
|
||||||
|
sleep 1
|
||||||
|
puts "done gc"
|
||||||
end
|
end
|
||||||
|
|
||||||
Discourse.after_fork
|
Discourse.after_fork
|
||||||
|
|
Loading…
Reference in New Issue