Companion for #10177 (Make wasm runtime cache size configurable) (#4466)

* bind param runtime_cache_size

* upgrade substrate

* fix tests compilation
This commit is contained in:
Éloïs
2021-12-09 20:42:00 +01:00
committed by GitHub
parent 1e774d0f2e
commit 916497e5db
6 changed files with 169 additions and 163 deletions
+164 -163
View File
File diff suppressed because it is too large Load Diff
@@ -107,6 +107,7 @@ pub fn new_partial(
config.wasm_method,
config.default_heap_pages,
config.max_runtime_instances,
config.runtime_cache_size,
);
let (client, backend, keystore_container, task_manager) =
@@ -134,6 +134,7 @@ where
config.wasm_method,
config.default_heap_pages,
config.max_runtime_instances,
config.runtime_cache_size,
);
let (client, backend, keystore_container, task_manager) =
@@ -171,6 +171,7 @@ where
config.wasm_method,
config.default_heap_pages,
config.max_runtime_instances,
config.runtime_cache_size,
);
let (client, backend, keystore_container, task_manager) =
+1
View File
@@ -367,6 +367,7 @@ where
config.wasm_method,
config.default_heap_pages,
config.max_runtime_instances,
config.runtime_cache_size,
);
let (client, backend, keystore_container, task_manager) =
+1
View File
@@ -188,6 +188,7 @@ pub fn node_config(
tracing_targets: None,
tracing_receiver: Default::default(),
max_runtime_instances: 8,
runtime_cache_size: 2,
announce_block: true,
base_path: Some(base_path),
informant_output_format: Default::default(),