commit | 7bdacabfcc4c9b17b773f2783bf406c02ad738fb | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Wed Mar 15 23:53:12 2017 +0000 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Sat Mar 18 22:38:19 2017 +0000 |
tree | ec6d973062d6532d74155b02d5b912b8303545da | |
parent | 305c864db28eb0c77c8499bc04c87de3f849cf3c [diff] |
Set max retries to avoid queue congestion When servers have *a lot* of remote slaves, some of them unstable and potentially offline, a maximum retry policy is needed to prevent push events to stay in the replication queue and getting rescheduled forever. Keep backward-compatible configuration by setting maxRetry by default to zero, which means disabled. Change-Id: I060cc7bc3a4d1089b0815db02d2e1430f83a2015