diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-03-24 14:36:40 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-03-24 14:36:40 +0100 |
commit | a2252de2bcecb672f09c8a5d0013cce23d1d404f (patch) | |
tree | 79e54107e3a7e4a5285f5873a95e0e177a48a0ae /doc | |
parent | 8463b4d55e45ea29d5a23f867e7f1c0077279ee7 (diff) |
ZMQ_RECOVERY_IVL and ZMQ_RECOVERY_IVL_MSEC reconciled
There's only one option now -- ZMQ_RECOVRY_IVL --
and it's measured in milliseconds.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/zmq_getsockopt.txt | 24 | ||||
-rw-r--r-- | doc/zmq_setsockopt.txt | 31 |
2 files changed, 5 insertions, 50 deletions
diff --git a/doc/zmq_getsockopt.txt b/doc/zmq_getsockopt.txt index 81dcba3..f2ad575 100644 --- a/doc/zmq_getsockopt.txt +++ b/doc/zmq_getsockopt.txt @@ -141,33 +141,13 @@ ZMQ_RECOVERY_IVL: Get multicast recovery interval ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The 'ZMQ_RECOVERY_IVL' option shall retrieve the recovery interval for multicast transports using the specified 'socket'. The recovery interval -determines the maximum time in seconds that a receiver can be absent from a +determines the maximum time in milliseconds that a receiver can be absent from a multicast group before unrecoverable data loss will occur. [horizontal] Option value type:: int64_t -Option value unit:: seconds -Default value:: 10 -Applicable socket types:: all, when using multicast transports - - -ZMQ_RECOVERY_IVL_MSEC: Get multicast recovery interval in milliseconds -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -The 'ZMQ_RECOVERY_IVL'_MSEC option shall retrieve the recovery interval, in -milliseconds, for multicast transports using the specified 'socket'. The -recovery interval determines the maximum time in seconds that a receiver -can be absent from a multicast group before unrecoverable data loss will -occur. - -For backward compatibility, the default value of 'ZMQ_RECOVERY_IVL_MSEC' is --1 indicating that the recovery interval should be obtained from the -'ZMQ_RECOVERY_IVL' option. However, if the 'ZMQ_RECOVERY_IVL_MSEC' value is -not zero, then it will take precedence, and be used. - -[horizontal] -Option value type:: int64_t Option value unit:: milliseconds -Default value:: -1 +Default value:: 10000 Applicable socket types:: all, when using multicast transports diff --git a/doc/zmq_setsockopt.txt b/doc/zmq_setsockopt.txt index 5d93a62..3cf3276 100644 --- a/doc/zmq_setsockopt.txt +++ b/doc/zmq_setsockopt.txt @@ -143,32 +143,8 @@ ZMQ_RECOVERY_IVL: Set multicast recovery interval ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The 'ZMQ_RECOVERY_IVL' option shall set the recovery interval for multicast transports using the specified 'socket'. The recovery interval determines the -maximum time in seconds that a receiver can be absent from a multicast group -before unrecoverable data loss will occur. - -CAUTION: Exercise care when setting large recovery intervals as the data -needed for recovery will be held in memory. For example, a 1 minute recovery -interval at a data rate of 1Gbps requires a 7GB in-memory buffer. - -[horizontal] -Option value type:: int64_t -Option value unit:: seconds -Default value:: 10 -Applicable socket types:: all, when using multicast transports - - -ZMQ_RECOVERY_IVL_MSEC: Set multicast recovery interval in milliseconds -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -The 'ZMQ_RECOVERY_IVL_MSEC' option shall set the recovery interval, specified -in milliseconds (ms) for multicast transports using the specified 'socket'. -The recovery interval determines the maximum time in milliseconds that a -receiver can be absent from a multicast group before unrecoverable data loss -will occur. - -A non-zero value of the 'ZMQ_RECOVERY_IVL_MSEC' option will take precedence -over the 'ZMQ_RECOVERY_IVL' option, but since the default for the -'ZMQ_RECOVERY_IVL_MSEC' is -1, the default is to use the 'ZMQ_RECOVERY_IVL' -option value. +maximum time in milliseconds that a receiver can be absent from a multicast +group before unrecoverable data loss will occur. CAUTION: Exercise care when setting large recovery intervals as the data needed for recovery will be held in memory. For example, a 1 minute recovery @@ -177,10 +153,9 @@ interval at a data rate of 1Gbps requires a 7GB in-memory buffer. [horizontal] Option value type:: int64_t Option value unit:: milliseconds -Default value:: -1 +Default value:: 10000 Applicable socket types:: all, when using multicast transports - ZMQ_SNDBUF: Set kernel transmit buffer size ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The 'ZMQ_SNDBUF' option shall set the underlying kernel transmit buffer size |