Attempt very aggressively to clear cache

This commit is contained in:
Sam
2018-06-07 20:10:52 +10:00
parent 3291f2c0eb
commit 8b88b71309
2 changed files with 3 additions and 1 deletions

View File

@@ -180,4 +180,6 @@ Migration::TableDropper.delayed_drop(
}
)
STDERR.puts "Resetting Active Record Cache"
Discourse.reset_active_record_cache
ActiveRecord::Base.connection.close