int do_perminute_housekeeping_now = 0;
time_t now;
- if (housekeeping_disabled) {
+ if ( (housekeeping_disabled) || (housekeeping_in_progress) ) {
return;
}
return;
}
+ if (!do_housekeeping_now) {
+ return;
+ }
+
// Ok, at this point we've made the decision to run the housekeeping
// loop. Everything below this point is real work.