diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-25 19:57:42 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-01-25 19:57:42 +0000 |
commit | 3d26cfc1854cdae96b62b536983b1239b32e9ec2 (patch) | |
tree | 0acaa9ed6f2264d05e98b19e7cc50aebe94db041 /queue.c | |
parent | 800db596dbfd0c9a657609fd4a666ebf60f25594 (diff) | |
download | rsyslog-3d26cfc1854cdae96b62b536983b1239b32e9ec2.tar.gz rsyslog-3d26cfc1854cdae96b62b536983b1239b32e9ec2.tar.xz rsyslog-3d26cfc1854cdae96b62b536983b1239b32e9ec2.zip |
fixed worker timeout which was accidently not set (and thus 0)
Diffstat (limited to 'queue.c')
-rw-r--r-- | queue.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -307,6 +307,7 @@ queueInitDA(queue_t *pThis, int bEnqOnly, int bLockMutex) CHKiRet(wtpSetpmutUsr (pThis->pWtpDA, pThis->mut)); CHKiRet(wtpSetpcondBusy (pThis->pWtpDA, &pThis->notEmpty)); CHKiRet(wtpSetiNumWorkerThreads (pThis->pWtpDA, 1)); + CHKiRet(wtpSettoWrkShutdown (pThis->pWtpDA, pThis->toWrkShutdown)); CHKiRet(wtpSetpUsr (pThis->pWtpDA, pThis)); CHKiRet(wtpConstructFinalize (pThis->pWtpDA)); } @@ -1324,6 +1325,7 @@ dbgprintf("Queue %p: post mutexes, mut %p\n", pThis, pThis->mut); CHKiRet(wtpSetpmutUsr (pThis->pWtpReg, pThis->mut)); CHKiRet(wtpSetpcondBusy (pThis->pWtpReg, &pThis->notEmpty)); CHKiRet(wtpSetiNumWorkerThreads (pThis->pWtpReg, pThis->iNumWorkerThreads)); + CHKiRet(wtpSettoWrkShutdown (pThis->pWtpReg, pThis->toWrkShutdown)); CHKiRet(wtpSetpUsr (pThis->pWtpReg, pThis)); CHKiRet(wtpConstructFinalize (pThis->pWtpReg)); |