Skip to content

Commit

Permalink
Merge pull request #1964 from fibonacci1729/bump-instance-table-const
Browse files Browse the repository at this point in the history
Bump the instance table size to 20
  • Loading branch information
fibonacci1729 authored Oct 26, 2023
2 parents b45feb8 + 9c77cea commit f80322e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f80322e

Please sign in to comment.