From 8408ae066dce123fc93e4f53dbadb1f60b7f2e8a Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 25 May 2010 15:03:57 +0200 Subject: LWM is computed rather than explicitly specified by user --- src/config.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/config.hpp') diff --git a/src/config.hpp b/src/config.hpp index e211f34..2c0ac2d 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -58,7 +58,10 @@ namespace zmq // So, if there are 10 messages that fit into the batch size, all of // them may be written by a single 'send' system call, thus avoiding // unnecessary network stack traversals. - out_batch_size = 8192, + out_batch_size = 8192, + + // Maximal delta between high and low watermark. + max_wm_delta = 1024, // Maximum number of events the I/O thread can process in one go. max_io_events = 256, -- cgit v1.2.3