Create timer to automatically purge expired claims #268

Merged
Vylpes merged 2 commits from feature/215-purge-claims into develop 2024-06-15 20:56:43 +01:00
Showing only changes of commit 2988ced7f8 - Show all commits

View file

@ -10,5 +10,5 @@ export default async function PurgeClaims() {
await Claim.RemoveMany(Claim, expiredClaims); await Claim.RemoveMany(Claim, expiredClaims);
AppLogger.LogDebug("Timers/PurgeClaims", `Purged ${expiredClaims.length} claims from the database`); AppLogger.LogInfo("Timers/PurgeClaims", `Purged ${expiredClaims.length} claims from the database`);
} }