diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-02-17 10:33:38 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-02-17 10:33:38 +0100 |
commit | 28f3e87fc6c8c5c7046234bf9a08ae62f26d7f3a (patch) | |
tree | e926ac76c70ca42d208977c23f7d9057a0b1315a /src/config.hpp | |
parent | fbe5d859f461b0deaa6083fdee077e01e9b47b91 (diff) |
Add delay before reconnecting
So far ZMQ_RECONNECT_IVL delay was used only when TCP connect
failed. Now it is used even if connect succeeds and the peer
closes the connection afterwards.
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/config.hpp')
-rw-r--r-- | src/config.hpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/config.hpp b/src/config.hpp index 1db3bb6..ef75508 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -65,9 +65,6 @@ namespace zmq // Maximum number of events the I/O thread can process in one go. max_io_events = 256, - // Should initial connection attempts be delayed? - wait_before_connect = false, - // Maximal delay to process command in API thread (in CPU ticks). // 3,000,000 ticks equals to 1 - 2 milliseconds on current CPUs. // Note that delay is only applied when there is continuous stream of |