diff options
author | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-27 10:54:28 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@fastmq.commkdir> | 2009-08-27 10:54:28 +0200 |
commit | 99c5d9283622a0b37ee80f83ff4875c059fc5990 (patch) | |
tree | 3460ec503898d2184dc807e47eea679d24d96d5c /src/config.hpp | |
parent | aacdb7a454686bfac93164d0e67e785658d48a3c (diff) |
pipes added
Diffstat (limited to 'src/config.hpp')
-rw-r--r-- | src/config.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/config.hpp b/src/config.hpp index 88b93d7..17e67b9 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -38,6 +38,14 @@ namespace zmq // footprint of dispatcher. command_pipe_granularity = 4, + // Determines how often does socket poll for new commands when it + // still has unprocessed messages to handle. Thus, if it is set to 100, + // socket will process 100 inbound messages before doing the poll. + // If there are no unprocessed messages available, poll is done + // immediately. Decreasing the value trades overall latency for more + // real-time behaviour (less latency peaks). + inbound_poll_rate = 100, + // Maximal batching size for engines with receiving functionality. // So, if there are 10 messages that fit into the batch size, all of // them may be read by a single 'recv' system call, thus avoiding |