Hector Sanjuan
8d3c72b766
Fix tests: Make metric broadcasting async
...
When a peer is down, metric broadcasting hangs, and no more
ticks are sent for a while.
2017-07-21 23:45:33 +02:00
Hector Sanjuan
faa755f43a
Re-allocate pins on peer removal
...
PeerRm now triggers re-pinning of all the Cids allocated to
the removed peer.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-05 16:38:36 +02:00
Hector Sanjuan
e2efef8469
go lint, go vet, put the Consensus component behind interface.
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-14 16:37:29 +01:00
Hector Sanjuan
a40e90a78d
Fix: metrics with nanoseconds TTLs
...
It turns out they only worked in round seconds. Tests send a metric
every second, so sometimes they were expired right away.
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-14 14:18:23 +01:00
Hector Sanjuan
c2faf48177
Issue #18 : Move Consensus and PeerMonitor to its own submodules
...
License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-03-13 18:40:35 +01:00