mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Connections were incorrectly going to master when failing over.
This commit is contained in:
parent
cb5be1fe8f
commit
880b7e1053
@ -79,7 +79,7 @@ class PostgreSQLFallbackHandler
|
||||
end
|
||||
|
||||
def verify?
|
||||
!master && !running && !recently_checked?
|
||||
!master && !running
|
||||
end
|
||||
|
||||
private
|
||||
|
Loading…
Reference in New Issue
Block a user