From 2b743f58987c07d114723c8091af6f1f5ebb2a21 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Sun, 19 Jan 2014 09:34:27 +0100 Subject: [PATCH] increased minimum maintainance time, and decreased log level of maintainance message. --- src/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.c b/src/main.c index f14486a1..99a72fce 100644 --- a/src/main.c +++ b/src/main.c @@ -699,7 +699,7 @@ fail: } -#define MAINTAINANCE_TIME(s) (MIN((60 + MAX_ZOMBIE_SECS), ((s)->config->cookie_validity + 300))) +#define MAINTAINANCE_TIME(s) (MIN((300 + MAX_ZOMBIE_SECS), ((s)->config->cookie_validity + 300))) static void check_other_work(main_server_st *s) { @@ -742,7 +742,7 @@ unsigned total = 10; /* Check if we need to expire any cookies */ if (need_maintenance != 0) { need_maintenance = 0; - mslog(s, NULL, LOG_INFO, "Performing maintenance"); + mslog(s, NULL, LOG_DEBUG, "Performing maintenance"); expire_tls_sessions(s); expire_zombies(s); expire_banned(s);