diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-03-12 15:04:08 +0100 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-03-12 15:04:08 +0100 |
commit | 16cc84fc699fc3f830b0c28d677d6ae0daa35723 (patch) | |
tree | f4921805e3f021ef5a13d1af1ffb6b6869b6e000 /runtime/wti.c | |
parent | 2b03e46acfc52b2933f45ba6ba38a36522163fdf (diff) | |
download | rsyslog-16cc84fc699fc3f830b0c28d677d6ae0daa35723.tar.gz rsyslog-16cc84fc699fc3f830b0c28d677d6ae0daa35723.tar.xz rsyslog-16cc84fc699fc3f830b0c28d677d6ae0daa35723.zip |
bugfix: stopped DA queue was never processed after a restart
...due to a regression from statistics module.
Diffstat (limited to 'runtime/wti.c')
-rw-r--r-- | runtime/wti.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/wti.c b/runtime/wti.c index 0b85c366..69da2e9f 100644 --- a/runtime/wti.c +++ b/runtime/wti.c @@ -315,6 +315,8 @@ wtiWorker(wti_t *pThis) if(localRet == RS_RET_IDLE) { if(terminateRet == RS_RET_TERMINATE_WHEN_IDLE || bInactivityTOOccured) { d_pthread_mutex_unlock(pWtp->pmutUsr); + dbgoprint((obj_t*) pThis, "terminating worker terminateRet=%d, bInactivityTOOccured=%d\n", + terminateRet, bInactivityTOOccured); break; /* end of loop */ } doIdleProcessing(pThis, pWtp, &bInactivityTOOccured); |