From bb74c4485a5fcb938645ca513f7b592aceff1c7f Mon Sep 17 00:00:00 2001 From: Tomas Heinrich Date: Tue, 12 Mar 2013 11:24:09 +0100 Subject: bugfix: divide action queue discard mark by 10 - was out of range --- action.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/action.c b/action.c index ae116ad9..f1e191d0 100644 --- a/action.c +++ b/action.c @@ -146,7 +146,7 @@ static int iActionQueueDeqBatchSize = 16; /* batch size for action queues */ static int iActionQHighWtrMark = 800; /* high water mark for disk-assisted queues */ static int iActionQLightDlyMrk = -1; /* light delay mark for disk-assisted queues */ static int iActionQLowWtrMark = 200; /* low water mark for disk-assisted queues */ -static int iActionQDiscardMark = 9800; /* begin to discard messages */ +static int iActionQDiscardMark = 980; /* begin to discard messages */ static int iActionQDiscardSeverity = 8; /* by default, discard nothing to prevent unintentional loss */ static int iActionQueueNumWorkers = 1; /* number of worker threads for the mm queue above */ static uchar *pszActionQFName = NULL; /* prefix for the main message queue file */ @@ -229,7 +229,7 @@ actionResetQueueParams(void) iActionQHighWtrMark = 800; /* high water mark for disk-assisted queues */ iActionQLightDlyMrk = -1; iActionQLowWtrMark = 200; /* low water mark for disk-assisted queues */ - iActionQDiscardMark = 9800; /* begin to discard messages */ + iActionQDiscardMark = 980; /* begin to discard messages */ iActionQDiscardSeverity = 8; /* discard warning and above */ iActionQueueNumWorkers = 1; /* number of worker threads for the mm queue above */ iActionQueMaxFileSize = 1024*1024; -- cgit v1.2.3