fix: memory usage

This commit is contained in:
JackEnx 2024-06-20 09:11:17 -03:00
parent e4f1abaa5a
commit b60d9aa4db

View File

@ -11,6 +11,7 @@ export const steamGamesWorker = new Piscina({
workerData: { workerData: {
steamGamesPath: path.join(seedsPath, "steam-games.json"), steamGamesPath: path.join(seedsPath, "steam-games.json"),
}, },
maxThreads: 1,
}); });
export const downloadSourceWorker = new Piscina({ export const downloadSourceWorker = new Piscina({