From 9c77cea6873afeea370ac41c2520efaa8d26e93f Mon Sep 17 00:00:00 2001 From: Brian H Date: Thu, 26 Oct 2023 14:53:11 -0600 Subject: [PATCH] Bump the instance table size to 20 Signed-off-by: Brian H --- crates/core/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/core/src/lib.rs b/crates/core/src/lib.rs index b3c13916d5..dc0ee8fedc 100644 --- a/crates/core/src/lib.rs +++ b/crates/core/src/lib.rs @@ -109,7 +109,7 @@ impl Default for Config { .max_component_instance_size( env("SPIN_WASMTIME_INSTANCE_SIZE", (10 * MB) as u32) as usize ) - .max_tables_per_component(env("SPIN_WASMTIME_INSTANCE_TABLES", 2)) + .max_tables_per_component(env("SPIN_WASMTIME_INSTANCE_TABLES", 20)) .table_elements(env("SPIN_WASMTIME_INSTANCE_TABLE_ELEMENTS", 30_000)) // The number of memories an instance can have effectively limits the number of inner components // a composed component can have (since each inner component has its own memory). We default to 32 for now, and