ankane / distribute_reads

Scale database reads to replicas in Rails

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Default replication lag failover threshold

steverob opened this issue · comments

I can't seem to find where the default lag threshold is set beyond which failover is triggered? Is it configured in Makara somewhere? Thanks!

Hey @steverob, there's no lag check/failover by default, but you can use default options to configure it. I'd caution against it, as it'll cause all traffic to go to the primary, which won't be good in many cases.