summaryrefslogtreecommitdiffstats
path: root/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-07-10 12:31:36 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-07-10 12:31:36 +0000
commitb6e0cc52121eda3b2b86d0ed5510e6ae2c6b5440 (patch)
tree397d14c797820df82d98fee461f5c066404a7239 /syslogd.c
parent1bc12ea443d2068a00aa6313bba45dd3aa642ab1 (diff)
downloadrsyslog-b6e0cc52121eda3b2b86d0ed5510e6ae2c6b5440.tar.gz
rsyslog-b6e0cc52121eda3b2b86d0ed5510e6ae2c6b5440.tar.xz
rsyslog-b6e0cc52121eda3b2b86d0ed5510e6ae2c6b5440.zip
removed a testing aid
Diffstat (limited to 'syslogd.c')
-rw-r--r--syslogd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/syslogd.c b/syslogd.c
index 2278205d..f3bde6ca 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -776,8 +776,7 @@ static int bFinished = 0; /* used by termination signal handler, read-only excep
* in seconds after previous message is logged. After each flush,
* we move to the next interval until we reach the largest.
*/
-//TODO int repeatinterval[] = { 30, 60 }; /* # of secs before flush */
-int repeatinterval[] = { 10, 15 }; /* # of secs before flush */
+int repeatinterval[] = { 30, 60 }; /* # of secs before flush */
#define MAXREPEAT ((sizeof(repeatinterval) / sizeof(repeatinterval[0])) - 1)
#define REPEATTIME(f) ((f)->f_time + repeatinterval[(f)->f_repeatcount])
#define BACKOFF(f) { if (++(f)->f_repeatcount > MAXREPEAT) \