Generalise ticker so we can use it for more than paxos,

and call tryPendingOps() from it so we eventually re-try operations
This commit is contained in:
Bryan Boreham committed 2016-01-12 14:38:44 +00:00
1 parent a5ddba03f7
commit 4672e9ec1f
2 files changed
+15 -20

No files matched your search

+1 -1
View File
@@ -36,7 +36,7 @@ func NewStatus(allocator *Allocator, defaultSubnet address.CIDR) *Status {
}
var paxosStatus *paxos.Status
if allocator.paxosTicker != nil {
if allocator.paxosActive {
paxosStatus = paxos.NewStatus(allocator.paxos)
}