From de8ea8f842521effae64f273df0053198bc163df Mon Sep 17 00:00:00 2001 From: Art Cancro Date: Mon, 16 Jul 2001 14:30:28 +0000 Subject: [PATCH] * housekeeping once every 60 seconds, not 1 second --- citadel/housekeeping.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/citadel/housekeeping.c b/citadel/housekeeping.c index 34ca22092..5cfea179a 100644 --- a/citadel/housekeeping.c +++ b/citadel/housekeeping.c @@ -39,6 +39,7 @@ #include "sysdep_decls.h" #include "room_ops.h" #include "database.h" +#include "dynloader.h" @@ -119,7 +120,7 @@ void check_ref_counts(void) { */ void do_housekeeping(void) { static int housekeeping_in_progress = 0; - time_t last_timer = 0L; + static time_t last_timer = 0L; int do_housekeeping_now = 0; /* -- 2.30.2