FIX: Connections were incorrectly going to master when failing over.

This commit is contained in:
Guo Xiang Tan 2016-05-30 11:50:02 +08:00
parent cb5be1fe8f
commit 880b7e1053
No known key found for this signature in database
GPG Key ID: 19C321C8952B0F72

View File

@ -79,7 +79,7 @@ class PostgreSQLFallbackHandler
end
def verify?
!master && !running && !recently_checked?
!master && !running
end
private