summaryrefslogtreecommitdiffstats
path: root/runtime/queue.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-07-07 17:21:37 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-07-07 17:21:37 +0200
commit8e4ad77e54c9d9272cef41f71d94ae277965711e (patch)
tree9947e7ab8e00762a20691f1fb548c5fc1fc77ab6 /runtime/queue.c
parent3250a710abb07bf4cfda1c3030b767286b39eff2 (diff)
parent9e9322585d632b20d714cdbf37e86be624b60642 (diff)
downloadrsyslog-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.c4
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);
}