FIX: ensure we have no dangling db connections on threads
This correct 10 second timeouts in dev mode, when reloader kicks in
This commit is contained in:
@@ -32,7 +32,7 @@ after_initialize do
|
||||
].each { |path| load File.expand_path(path, __FILE__) }
|
||||
|
||||
# Disable welcome message because that is what the bot is supposed to replace.
|
||||
SiteSetting.send_welcome_message = false
|
||||
SiteSetting.send_welcome_message = false if SiteSetting.send_welcome_message
|
||||
|
||||
require_dependency 'plugin_store'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user