Attempt very aggressively to clear cache
This commit is contained in:
parent
3291f2c0eb
commit
8b88b71309
|
@ -180,4 +180,6 @@ Migration::TableDropper.delayed_drop(
|
|||
}
|
||||
)
|
||||
|
||||
STDERR.puts "Resetting Active Record Cache"
|
||||
Discourse.reset_active_record_cache
|
||||
ActiveRecord::Base.connection.close
|
||||
|
|
|
@ -22,7 +22,7 @@ end
|
|||
require_relative 'lib/discourse_narrative_bot/welcome_post_type_site_setting.rb'
|
||||
|
||||
after_initialize do
|
||||
SeedFu.fixture_paths.unshift Rails.root.join("plugins", "discourse-narrative-bot", "db", "fixtures").to_s
|
||||
SeedFu.fixture_paths << Rails.root.join("plugins", "discourse-narrative-bot", "db", "fixtures").to_s
|
||||
|
||||
Mime::Type.register "image/svg+xml", :svg
|
||||
|
||||
|
|
Loading…
Reference in New Issue