feat: adding auto refresh of download sources

This commit is contained in:
Chubby Granny Chaser
2024-06-03 21:39:37 +01:00
parent 3da751a67b
commit 0ea2cd39db
19 changed files with 241 additions and 93 deletions

View File

@@ -1,6 +1,7 @@
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";
@@ -16,3 +17,7 @@ export const steamGamesWorker = new Piscina({
export const repacksWorker = new Piscina({
filename: repacksWorkerPath,
});
export const downloadSourceWorker = new Piscina({
filename: downloadSourceWorkerPath,
});