Create timer to automatically purge expired claims #268
1 changed files with 1 additions and 1 deletions
|
@ -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`);
|
||||||
}
|
}
|
Loading…
Reference in a new issue