updated heartbeat tracking to treat missing several heartbeats as a full failure.

This commit is contained in:
fawce
2012-07-17 11:02:35 -04:00
parent 1cc56b52e7
commit d21abe06ea
2 changed files with 27 additions and 8 deletions
+1 -1
View File
@@ -516,7 +516,7 @@ class Component(object):
def bind_pub_socket(self, addr):
pub_socket = self.context.socket(self.zmq.PUB)
pub_socket.bind(addr)
pub_socket.setsockopt(self.zmq.LINGER, 0)
#pub_socket.setsockopt(self.zmq.LINGER, 0)
self.out_socket = pub_socket
return pub_socket