mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
cron: change cleanupEvents to every 15 minutes
This commit is contained in:
parent
a46381849f
commit
97a3478b1a
1 changed files with 1 additions and 1 deletions
|
|
@ -14,4 +14,4 @@ async function cleanupEvents() {
|
||||||
console.log(`Deleted ${result?.numDeletedRows ?? 0} events.`);
|
console.log(`Deleted ${result?.numDeletedRows ?? 0} events.`);
|
||||||
}
|
}
|
||||||
|
|
||||||
cron.hourly(cleanupEvents);
|
cron.every15Minute(cleanupEvents);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue