diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-23 15:17:55 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2009-06-23 15:17:55 +0200 |
commit | b1f2e53921b7ab19c363a63de47a0e7a35866052 (patch) | |
tree | 6b87e6a2a868482e16b64a6244e37512ebe4d4ab /tools | |
parent | b50d13a6a97c0b6fa14807775ae0edf52ef015fb (diff) | |
download | rsyslog-b1f2e53921b7ab19c363a63de47a0e7a35866052.tar.gz rsyslog-b1f2e53921b7ab19c363a63de47a0e7a35866052.tar.xz rsyslog-b1f2e53921b7ab19c363a63de47a0e7a35866052.zip |
prevented unneccessary apc calls
Diffstat (limited to 'tools')
-rw-r--r-- | tools/syslogd.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c index 178ad455..385fef1c 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -1469,7 +1469,6 @@ DEFFUNC_llExecFunc(flushRptdMsgsActions) assert(pAction != NULL); BEGINfunc -RUNLOG_VAR("%p", pAction); LockObj(pAction); /* TODO: time() performance: the call below could be moved to * the beginn of the llExec(). This makes it slightly less correct, but @@ -2586,7 +2585,7 @@ mainloop(void) * but a once-a-day wakeup should be quite acceptable. -- rgerhards, 2008-06-09 */ //tvSelectTimeout.tv_sec = (bReduceRepeatMsgs == 1) ? TIMERINTVL : 86400 /*1 day*/; -tvSelectTimeout.tv_sec = 5; // TESTING ONLY!!! TODO: change back!!! + tvSelectTimeout.tv_sec = TIMERINTVL; /* TODO: change this back to the above code when we have a better solution for apc */ tvSelectTimeout.tv_usec = 0; select(1, NULL, NULL, NULL, &tvSelectTimeout); if(bFinished) |