From 19d2620e7536dfe99eaea901da647aaf78478f2e Mon Sep 17 00:00:00 2001 From: Alex Gherghisan Date: Wed, 9 Oct 2024 21:09:46 +0300 Subject: [PATCH] fix: limit number of threads (#9135) --- .../world-state/src/native/native_world_state_instance.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yarn-project/world-state/src/native/native_world_state_instance.ts b/yarn-project/world-state/src/native/native_world_state_instance.ts index b5c021b8dc6..aae9599e35d 100644 --- a/yarn-project/world-state/src/native/native_world_state_instance.ts +++ b/yarn-project/world-state/src/native/native_world_state_instance.ts @@ -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(); }