mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-20 14:20:42 +01:00
Merge branch 'v8-stable' of git+ssh://git.adiscon.com/git/rsyslog into v8-stable
This commit is contained in:
commit
5a80893186
@ -275,7 +275,6 @@ waitMainQEmpty(tcps_sess_t *pSess)
|
||||
int iPrint = 0;
|
||||
DEFiRet;
|
||||
|
||||
fprintf(stderr, "WaitMainQEmpty, initial size %d\n", iOverallQueueSize);
|
||||
while(1) {
|
||||
if(iOverallQueueSize == 0) {
|
||||
/* verify that queue is still empty (else it could just be a race!) */
|
||||
@ -288,8 +287,6 @@ fprintf(stderr, "WaitMainQEmpty, initial size %d\n", iOverallQueueSize);
|
||||
break;
|
||||
if(iPrint++ % 500 == 0)
|
||||
dbgprintf("imdiag sleeping, wait queues drain, curr size %d\n", iOverallQueueSize);
|
||||
if(iPrint++ % 500 == 0)
|
||||
fprintf(stderr, "imdiag sleeping, wait queues drain, curr size %d\n", iOverallQueueSize);
|
||||
srSleep(0,200000);/* wait a little bit */
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user