Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Turris
Sentinel
sn
Commits
7b8def9a
Commit
7b8def9a
authored
Jun 01, 2018
by
Robin Obůrka
Browse files
network: Add zmq.LINGER options to generated sockets
parent
e70be51b
Changes
1
Hide whitespace changes
Inline
Side-by-side
sn/network.py
View file @
7b8def9a
...
...
@@ -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
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment