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

View File

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