mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 03:09:29 +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
|
end
|
||||||
|
|
||||||
def verify?
|
def verify?
|
||||||
!master && !running && !recently_checked?
|
!master && !running
|
||||||
end
|
end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
Loading…
Reference in New Issue
Block a user