struct UPurgeList *uptr;
/* Phase 1: traverse through the table, discovering old records... */
- if (CheckTDAPVeto(CDB_USETABLE, ErrMsg))
- {
- syslog(LOG_DEBUG, "Purge use table: VETO!");
- return 0;
- }
syslog(LOG_DEBUG, "Purge use table: phase 1");
cdb_rewind(CDB_USETABLE);
syslog(LOG_NOTICE, "Processed %d message reference count adjustments.", retval);
}
+ // Enable this after we've tested it and make it a site-configurable option.
+ // This will allow the database files to shrink when they can.
+ // if (!server_shutting_down)
+ // {
+ // cdb_compact();
+ // }
+
if (!server_shutting_down)
{
syslog(LOG_INFO, "Auto-purger: finished.");