From: Art Cancro Date: Mon, 16 Jul 2001 14:30:28 +0000 (+0000) Subject: * housekeeping once every 60 seconds, not 1 second X-Git-Tag: v7.86~6835 X-Git-Url: https://code.citadel.org/?p=citadel.git;a=commitdiff_plain;h=de8ea8f842521effae64f273df0053198bc163df * housekeeping once every 60 seconds, not 1 second --- 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; /*