mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 01:57:15 +08:00
Clear all connections once master recovers.
This commit is contained in:
@ -36,7 +36,6 @@ describe ActiveRecord::ConnectionHandling do
|
||||
|
||||
after do
|
||||
postgresql_fallback_handler.setup!
|
||||
postgresql_fallback_handler.clear_connections
|
||||
Discourse.disable_readonly_mode(Discourse::PG_READONLY_MODE_KEY)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user