fix: removing repacks from worker threads to fix race condition

This commit is contained in:
Chubby Granny Chaser
2024-06-03 23:09:47 +01:00
parent 4559e23610
commit ea923d5082
13 changed files with 71 additions and 105 deletions

View File

@@ -1,6 +1,5 @@
import path from "node:path";
import steamGamesWorkerPath from "./steam-games.worker?modulePath";
import repacksWorkerPath from "./repacks.worker?modulePath";
import downloadSourceWorkerPath from "./download-source.worker?modulePath";
import Piscina from "piscina";
@@ -14,10 +13,6 @@ export const steamGamesWorker = new Piscina({
},
});
export const repacksWorker = new Piscina({
filename: repacksWorkerPath,
});
export const downloadSourceWorker = new Piscina({
filename: downloadSourceWorkerPath,
});