mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 17:51:16 +08:00
Only refresh site settings once on initialization.
This commit is contained in:
@ -59,9 +59,6 @@ Discourse::Application.configure do
|
||||
end
|
||||
|
||||
config.after_initialize do
|
||||
SiteSetting.defaults.set_regardless_of_locale(:port, 3000)
|
||||
SiteSetting.refresh!
|
||||
|
||||
if ENV['BULLET']
|
||||
Bullet.enable = true
|
||||
Bullet.rails_logger = true
|
||||
|
Reference in New Issue
Block a user