increased minimum maintainance time, and decreased log level of maintainance message.

This commit is contained in:
Nikos Mavrogiannopoulos
2014-01-19 09:34:27 +01:00
parent d665872468
commit 2b743f5898
+2 -2
View File
@@ -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);