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:
1 parent
a5ddba03f7
commit
4672e9ec1f
2 files changed
+15
-20
No files matched your search
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user