summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomas Heinrich <theinric@redhat.com>2013-03-12 11:24:09 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2013-03-12 11:24:09 +0100
commitbb74c4485a5fcb938645ca513f7b592aceff1c7f (patch)
treeb5ecc91e3d61911ab7588c5b856f399db9b835de
parentd435d3426f69af5a90cdac5fa64fd91841b844ea (diff)
downloadrsyslog-bb74c4485a5fcb938645ca513f7b592aceff1c7f.tar.gz
rsyslog-bb74c4485a5fcb938645ca513f7b592aceff1c7f.tar.bz2
rsyslog-bb74c4485a5fcb938645ca513f7b592aceff1c7f.zip
bugfix: divide action queue discard mark by 10 - was out of range
-rw-r--r--action.c4
1 files 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;