Don't await cleanupMedia on startup

This commit is contained in:
Alex Gleason 2024-04-30 20:38:21 -05:00
parent 51d7bf4438
commit 6cc44c468e
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -25,5 +25,5 @@ async function cleanupMedia() {
console.info(`Removed ${media?.length ?? 0} orphaned media files.`);
}
await cleanupMedia();
cleanupMedia();
cron.every15Minute(cleanupMedia);