diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-07 08:57:16 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-11-07 10:28:42 +0100 |
commit | 8752ce5a2e8fd50325364bb733619e7b8beb4876 (patch) | |
tree | ba710394cb0dbdf951d22a01cf9b389531c47011 /runtime/queue.c | |
parent | 6a27cd816c6972c553f1e3f38dd8f9ea3900e709 (diff) | |
download | rsyslog-8752ce5a2e8fd50325364bb733619e7b8beb4876.tar.gz rsyslog-8752ce5a2e8fd50325364bb733619e7b8beb4876.tar.bz2 rsyslog-8752ce5a2e8fd50325364bb733619e7b8beb4876.zip |
do not adjust batch size for disk queues
Diffstat (limited to 'runtime/queue.c')
-rw-r--r-- | runtime/queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/queue.c b/runtime/queue.c index 925ef71e..073c6823 100644 --- a/runtime/queue.c +++ b/runtime/queue.c @@ -2101,7 +2101,7 @@ qqueueStart(qqueue_t *pThis) /* this is the ConstructionFinalizer */ if(pThis->iLightDlyMrk == -1 || pThis->iLightDlyMrk > pThis->iMaxQueueSize) pThis->iLightDlyMrk = pThis->iMaxQueueSize - (pThis->iMaxQueueSize / 100) * 30; /* default 70% */ - if(pThis->iDeqBatchSize > pThis->iMaxQueueSize) + if(pThis->iMaxQueueSize > 0 && pThis->iDeqBatchSize > pThis->iMaxQueueSize) pThis->iDeqBatchSize = pThis->iMaxQueueSize; /* finalize some initializations that could not yet be done because it is |