diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-08-28 13:18:53 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-08-28 13:18:53 +0200 |
commit | beea535f9d7ff210ea035de190c0d87184ee1963 (patch) | |
tree | cfa5f33b45a75144be7e14ebbd4d7f63bfee80d8 /src/config.hpp | |
parent | d8b975f4e73ae940c0c0f9c8c6c7aac1199fee09 (diff) |
swap's block size made into a compile-time parameter
Diffstat (limited to 'src/config.hpp')
-rw-r--r-- | src/config.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/config.hpp b/src/config.hpp index 83e612a..0fe7c57 100644 --- a/src/config.hpp +++ b/src/config.hpp @@ -62,6 +62,10 @@ namespace zmq // Maximal delta between high and low watermark. max_wm_delta = 1024, + // Swap inteligently batches data for writing to disk. The size of + // the batch in bytes is specified by this option. + swap_block_size = 8192, + // Maximum number of events the I/O thread can process in one go. max_io_events = 256, |