diff --git a/script/check_forking.rb b/script/check_forking.rb index d0174f7448a..c0eb398502c 100644 --- a/script/check_forking.rb +++ b/script/check_forking.rb @@ -3,6 +3,9 @@ require File.expand_path("../../config/environment", __FILE__) def pretty puts "" puts PrettyText.cook("My pid is #{Process.pid}") + GC.start + sleep 1 + puts "done gc" end Discourse.after_fork