mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
Attempt very aggressively to clear cache
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user