sc-executor: Increase maximum instance count (#1856)
Changes the maximum instances count for `wasmtime` to `64`. It also
allows to only pass in maximum `32` for `--max-runtime-instances` as
`256` was way too big. With `64` instances in total and `32` that can be
configured in maximum, there should be enough space to accommodate for
extra instances that are may required to be allocated adhoc.
---------
Co-authored-by:
Koute <koute@users.noreply.github.com>
Showing
- Cargo.lock 1 addition, 0 deletionsCargo.lock
- substrate/client/cli/src/params/runtime_params.rs 3 additions, 3 deletionssubstrate/client/cli/src/params/runtime_params.rs
- substrate/client/executor/wasmtime/Cargo.toml 1 addition, 0 deletionssubstrate/client/executor/wasmtime/Cargo.toml
- substrate/client/executor/wasmtime/src/instance_wrapper.rs 14 additions, 3 deletionssubstrate/client/executor/wasmtime/src/instance_wrapper.rs
- substrate/client/executor/wasmtime/src/runtime.rs 61 additions, 3 deletionssubstrate/client/executor/wasmtime/src/runtime.rs
Please register or sign in to comment