Skip to content

Commit

Permalink
fix: limit number of threads (#9135)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexghr authored Oct 9, 2024
1 parent 6662fba commit 19d2620
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class NativeWorldState implements NativeWorldStateInstance {
},
GeneratorIndex.BLOCK_HASH,
10 * 1024 * 1024, // 10 GB per tree (in KB)
cpus().length,
16,
);
this.queue.start();
}
Expand Down

0 comments on commit 19d2620

Please sign in to comment.