Default HWMs are set to 1000

This patch is meant to prevent users from running out of memory
when using 0MQ in the default configuration.

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2011-10-06 13:12:49 +02:00
parent f5f1a8b184
commit d31792e652
3 changed files with 6 additions and 14 deletions

View File

@@ -24,8 +24,8 @@
#include "err.hpp"
zmq::options_t::options_t () :
sndhwm (0),
rcvhwm (0),
sndhwm (1000),
rcvhwm (1000),
affinity (0),
rate (100),
recovery_ivl (10000),