From d31792e652cc9fd3bc84e2abd89f232d273b7ede Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 6 Oct 2011 13:12:49 +0200 Subject: 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 --- doc/zmq_getsockopt.txt | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'doc/zmq_getsockopt.txt') diff --git a/doc/zmq_getsockopt.txt b/doc/zmq_getsockopt.txt index ba85ab3..99065c0 100644 --- a/doc/zmq_getsockopt.txt +++ b/doc/zmq_getsockopt.txt @@ -81,12 +81,10 @@ blocking or dropping sent messages. Refer to the individual socket descriptions in linkzmq:zmq_socket[3] for details on the exact action taken for each socket type. -The default 'ZMQ_SNDHWM' value of zero means "no limit". - [horizontal] Option value type:: int Option value unit:: messages -Default value:: 0 +Default value:: 1000 Applicable socket types:: all @@ -103,12 +101,10 @@ blocking or dropping sent messages. Refer to the individual socket descriptions in linkzmq:zmq_socket[3] for details on the exact action taken for each socket type. -The default 'ZMQ_RCVHWM' value of zero means "no limit". - [horizontal] Option value type:: int Option value unit:: messages -Default value:: 0 +Default value:: 1000 Applicable socket types:: all -- cgit v1.2.3