diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-06 19:06:27 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-06 19:06:27 +0100 |
commit | 4f88aa20b4e5ace523a2fb4b5f221d9e70e26d13 (patch) | |
tree | d5bad1dad839cf55b79aef76dfcd7582fb21b4a4 /runtime/queue.c | |
parent | 6b0e236cdf3d55299de70cf41dafdefec286f103 (diff) | |
download | rsyslog-4f88aa20b4e5ace523a2fb4b5f221d9e70e26d13.tar.gz rsyslog-4f88aa20b4e5ace523a2fb4b5f221d9e70e26d13.tar.bz2 rsyslog-4f88aa20b4e5ace523a2fb4b5f221d9e70e26d13.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 30269152..7ad2b849 100644 --- a/runtime/queue.c +++ b/runtime/queue.c @@ -2106,7 +2106,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/", |