feat: reduced render workers to 2

This commit is contained in:
TrèsAbhi committed 2023-10-17 21:01:26 -05:00
1 parent f8a66bb5e7
commit 9a3867770d
1 file changed
+1 -1
+1 -1
View File
@@ -1,6 +1,6 @@
import { Worker } from 'worker_threads';
const MAX_WORKERS = 3;
const MAX_WORKERS = 2;
const workers = [...Array(MAX_WORKERS)].map(() => {
const worker = new Worker(`${__dirname}/workers/render.cjs`);