Throttle on no metrics/error

This commit is contained in:
Justin Fudally 2020-03-25 14:12:00 -05:00
parent d5a7e43266
commit 0b2702bf53

View File

@ -104,7 +104,7 @@ func (this *Throttler) shouldThrottle() (result bool, reason string, reasonHint
}
}
// Got here? No metrics indicates we need throttling.
return false, "", base.NoThrottleReasonHint
return true, "", base.NoThrottleReasonHint
}
// parseChangelogHeartbeat parses a string timestamp and deduces replication lag