Don't await cleanupMedia on startup
This commit is contained in:
parent
51d7bf4438
commit
6cc44c468e
|
@ -25,5 +25,5 @@ async function cleanupMedia() {
|
|||
console.info(`Removed ${media?.length ?? 0} orphaned media files.`);
|
||||
}
|
||||
|
||||
await cleanupMedia();
|
||||
cleanupMedia();
|
||||
cron.every15Minute(cleanupMedia);
|
||||
|
|
Loading…
Reference in New Issue