From a429b0ace94d53576e3c747c4d6a775b06ca4f2b Mon Sep 17 00:00:00 2001 From: Zoe Roux Date: Sat, 6 Dec 2025 01:48:34 +0100 Subject: [PATCH] Run multiple image download queue in parallel --- api/src/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/src/index.ts b/api/src/index.ts index e8288af0..5e021e65 100644 --- a/api/src/index.ts +++ b/api/src/index.ts @@ -8,7 +8,9 @@ import { comment } from "./utils"; await migrate(); // run image processor task in background -processImages(); +for (let i = 0; i < 10; i++) { + processImages(); +} const app = new Elysia() .use(