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

network: Add zmq.LINGER options to generated sockets

parent e70be51b
......@@ -160,6 +160,7 @@ class Socket:
def configure(self, socket):
if "ipv6" in self.configuration:
socket.ipv6 = self.configuration["ipv6"]
socket.setsockopt(zmq.LINGER, 1*1000) # In msec
class SN:
Supports Markdown
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