diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-06 19:06:27 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-07 10:28:22 +0100 |
commit | 6a27cd816c6972c553f1e3f38dd8f9ea3900e709 (patch) | |
tree | 3094219b281c8490cd4d510faab69d8949a332af /runtime/queue.c | |
parent | 681a8a5ac210192ac032d8da0e4403b8251d0925 (diff) | |
download | rsyslog-6a27cd816c6972c553f1e3f38dd8f9ea3900e709.tar.gz rsyslog-6a27cd816c6972c553f1e3f38dd8f9ea3900e709.tar.bz2 rsyslog-6a27cd816c6972c553f1e3f38dd8f9ea3900e709.zip |
do not complain for queue size on DA queues
Diffstat (limited to 'runtime/queue.c')
-rw-r--r-- | runtime/queue.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/queue.c b/runtime/queue.c index 409424e7..925ef71e 100644 --- a/runtime/queue.c +++ b/runtime/queue.c @@ -2084,7 +2084,8 @@ qqueueStart(qqueue_t *pThis) /* this is the ConstructionFinalizer */ break; } - if(pThis->iMaxQueueSize < 100) { + if(pThis->iMaxQueueSize < 100 + && (pThis->qType == QUEUETYPE_LINKEDLIST || pThis->qType == QUEUETYPE_FIXED_ARRAY)) { errmsg.LogError(0, RS_RET_OK_WARN, "Note: queue.size=\"%d\" is very " "low and can lead to unpredictable results. See also " "http://www.rsyslog.com/lower-bound-for-queue-sizes/", |