diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-07 17:21:37 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-07-07 17:21:37 +0200 |
commit | 8e4ad77e54c9d9272cef41f71d94ae277965711e (patch) | |
tree | 9947e7ab8e00762a20691f1fb548c5fc1fc77ab6 /runtime/queue.c | |
parent | 3250a710abb07bf4cfda1c3030b767286b39eff2 (diff) | |
parent | 9e9322585d632b20d714cdbf37e86be624b60642 (diff) | |
download | rsyslog-8e4ad77e54c9d9272cef41f71d94ae277965711e.tar.gz rsyslog-8e4ad77e54c9d9272cef41f71d94ae277965711e.tar.xz rsyslog-8e4ad77e54c9d9272cef41f71d94ae277965711e.zip |
Merge branch 'v4-beta'
Diffstat (limited to 'runtime/queue.c')
-rw-r--r-- | runtime/queue.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queue.c b/runtime/queue.c index 7438fbaa..2568717b 100644 --- a/runtime/queue.c +++ b/runtime/queue.c @@ -1703,11 +1703,11 @@ DequeueConsumable(qqueue_t *pThis, wti_t *pWti, int iCancelStateSave) * now that we dequeue batches of pointers, this is much less an issue... * rgerhards, 2009-04-22 */ - if(iQueueSize < pThis->iFullDlyMrk) { + if(iQueueSize < pThis->iFullDlyMrk / 2) { pthread_cond_broadcast(&pThis->belowFullDlyWtrMrk); } - if(iQueueSize < pThis->iLightDlyMrk) { + if(iQueueSize < pThis->iLightDlyMrk / 2) { pthread_cond_broadcast(&pThis->belowLightDlyWtrMrk); } |