Removing expired links and avatars.

This commit is contained in:
stephb9959
2021-11-13 09:05:16 -08:00
parent 1e8e5c18b2
commit ab6fbaca11
5 changed files with 23 additions and 2 deletions

View File

@@ -33,8 +33,10 @@ namespace OpenWifi {
void Archiver::onTimer(Poco::Timer &timer) {
Poco::Logger &logger = Poco::Logger::get("STORAGE-ARCHIVER");
logger.information("Squiggy the DB");
logger.information("Squiggy the DB: removing old tokens.");
StorageService()->CleanExpiredTokens();
logger.information("Squiggy the DB: removing old actionLinks.");
StorageService()->CleanOldActionLinks();
}
}