Commit 7b8def9a authored by Robin Obůrka's avatar Robin Obůrka

network: Add zmq.LINGER options to generated sockets

parent e70be51b
...@@ -160,6 +160,7 @@ class Socket: ...@@ -160,6 +160,7 @@ class Socket:
def configure(self, socket): def configure(self, socket):
if "ipv6" in self.configuration: if "ipv6" in self.configuration:
socket.ipv6 = self.configuration["ipv6"] socket.ipv6 = self.configuration["ipv6"]
socket.setsockopt(zmq.LINGER, 1*1000) # In msec
class SN: class SN:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment