mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-19 00:46:05 +01:00
use more conservative 30 second default timeout for LINGER
Regression in #1248 can cause lost messages at exit.
This commit is contained in:
parent
ed4f342633
commit
35dd85a1db
@ -323,7 +323,7 @@ following outlines the different behaviours:
|
||||
[horizontal]
|
||||
Option value type:: int
|
||||
Option value unit:: milliseconds
|
||||
Default value:: 2000 (two seconds)
|
||||
Default value:: 30000 (thirty seconds)
|
||||
Applicable socket types:: all
|
||||
|
||||
|
||||
|
@ -35,7 +35,7 @@ zmq::options_t::options_t () :
|
||||
rcvbuf (0),
|
||||
tos (0),
|
||||
type (-1),
|
||||
linger (2000),
|
||||
linger (30000),
|
||||
reconnect_ivl (100),
|
||||
reconnect_ivl_max (0),
|
||||
backlog (100),
|
||||
|
Loading…
x
Reference in New Issue
Block a user