From fcfad5682ed7a7f5108853d2a7039aedfd9a9ac2 Mon Sep 17 00:00:00 2001 From: Bob Beaty Date: Thu, 9 Dec 2010 21:42:58 +0100 Subject: Added Recovery Interval in Milliseconds For very high-speed message systems, the memory used for recovery can get to be very large. The corrent limitation on that reduction is the ZMQ_RECOVERY_IVL of 1 sec. I added in an additional option ZMQ_RECOVERY_IVL_MSEC, which is the Recovery Interval in milliseconds. If used, this will override the previous one, and allow you to set a sub-second recovery interval. If not set, the default behavior is to use ZMQ_RECOVERY_IVL. Signed-off-by: Bob Beaty --- include/zmq.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/zmq.h') diff --git a/include/zmq.h b/include/zmq.h index 997595b..a773f45 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -202,6 +202,7 @@ ZMQ_EXPORT int zmq_term (void *context); #define ZMQ_LINGER 17 #define ZMQ_RECONNECT_IVL 18 #define ZMQ_BACKLOG 19 +#define ZMQ_RECOVERY_IVL_MSEC 20 /* opt. recovery time, reconcile in 3.x */ /* Send/recv options. */ #define ZMQ_NOBLOCK 1 -- cgit v1.2.3