From ad2d2381d85051e441ffef4fad6907654ed83912 Mon Sep 17 00:00:00 2001 From: Eric K Date: Wed, 24 Feb 2016 01:05:29 +0000 Subject: [PATCH] Enable subsequent heartbeat updates Changed accept_heartbeat to update status on subsequent heartbeats. Change-Id: Ie00b308f66f1611c82a073ee5e74d958c1426a4f --- congress/dse2/control_bus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/congress/dse2/control_bus.py b/congress/dse2/control_bus.py index 097ddf751..471d2ef91 100644 --- a/congress/dse2/control_bus.py +++ b/congress/dse2/control_bus.py @@ -64,7 +64,7 @@ class _DseControlBusEndpoint(object): LOG.info("<%s> New peer '%s' with services %s", self.dse_bus.node.node_id, peer_id, [s['service_id'] for s in new_status['services']]) - self.dse_bus.peers[peer_id] = new_status + self.dse_bus.peers[peer_id] = new_status # TODO(pballand): handle time going backwards self.dse_bus.peers[peer_id]['last_hb_time'] = time.time()