From b60d9aa4dbfeb05fdcf5aa136096fc0c5b36b562 Mon Sep 17 00:00:00 2001 From: JackEnx Date: Thu, 20 Jun 2024 09:11:17 -0300 Subject: [PATCH] fix: memory usage --- src/main/workers/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/workers/index.ts b/src/main/workers/index.ts index cbcedaff..b0f9721f 100644 --- a/src/main/workers/index.ts +++ b/src/main/workers/index.ts @@ -11,6 +11,7 @@ export const steamGamesWorker = new Piscina({ workerData: { steamGamesPath: path.join(seedsPath, "steam-games.json"), }, + maxThreads: 1, }); export const downloadSourceWorker = new Piscina({