mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 16:02:46 +08: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