mirror of
https://github.com/discourse/discourse.git
synced 2026-08-12 05:55:39 -05:00
FIX: Connections were incorrectly going to master when failing over.
This commit is contained in:
@@ -79,7 +79,7 @@ class PostgreSQLFallbackHandler
|
||||
end
|
||||
|
||||
def verify?
|
||||
!master && !running && !recently_checked?
|
||||
!master && !running
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user