mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-21 02:37:05 +02:00
feat: reduced render workers to 2
This commit is contained in:
1 parent
f8a66bb5e7
commit
9a3867770d
1 file changed
+1
-1
@@ -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`);
|
||||
|
||||
Reference in new issue
Block a user