mirror of
https://github.com/fluencelabs/examples
synced 2025-04-25 10:42:16 +00:00
update aqua, max_heap_size
This commit is contained in:
parent
257d033fa2
commit
bb23807f12
@ -167,7 +167,7 @@ service Dist("dist"):
|
|||||||
-- Constructs a ModuleConfig structure
|
-- Constructs a ModuleConfig structure
|
||||||
-- Arguments:
|
-- Arguments:
|
||||||
-- module_name - import name of the module
|
-- module_name - import name of the module
|
||||||
-- mem_pages_count - Maximum memory size accessible by a module in Wasm pages (64 Kb)
|
-- max_heap_size - Maximum memory size accessible by a module in Wasm pages (64 Kb)
|
||||||
-- logger_enabled - Defines whether Marine should provide a special host log_utf8_string function for this module
|
-- logger_enabled - Defines whether Marine should provide a special host log_utf8_string function for this module
|
||||||
-- preopened_files - Files available for this module. Module can access only files from this list
|
-- preopened_files - Files available for this module. Module can access only files from this list
|
||||||
-- envs - environment variables available for this module
|
-- envs - environment variables available for this module
|
||||||
@ -178,8 +178,8 @@ service Dist("dist"):
|
|||||||
-- call /usr/bin/curl binary as function 'curl'
|
-- call /usr/bin/curl binary as function 'curl'
|
||||||
-- logging_mask - Binary mask to enable & disable logging targets. Targets are
|
-- logging_mask - Binary mask to enable & disable logging targets. Targets are
|
||||||
-- configured in WasmLoggerBuilder::with_target_map
|
-- configured in WasmLoggerBuilder::with_target_map
|
||||||
-- mem_pages_count - Maximum memory size accessible by a module in Wasm pages (64 Kb)
|
-- max_heap_size - Maximum memory size accessible by a module in Wasm pages (64 Kb)
|
||||||
make_module_config(name: string, mem_pages_count: ?u32, logger_enabled: ?bool, preopened_files: ?[]string, envs: ?Pairs, mapped_dirs: ?Pairs, mounted_binaries: ?Pairs, logging_mask: ?i32) -> ModuleConfig
|
make_module_config(name: string, max_heap_size: ?u32, logger_enabled: ?bool, preopened_files: ?[]string, envs: ?Pairs, mapped_dirs: ?Pairs, mounted_binaries: ?Pairs, logging_mask: ?i32) -> ModuleConfig
|
||||||
|
|
||||||
-- Constructs a ModuleConfig structure
|
-- Constructs a ModuleConfig structure
|
||||||
-- Arguments:
|
-- Arguments:
|
||||||
|
@ -2,5 +2,5 @@ modules_dir = "artifacts/"
|
|||||||
|
|
||||||
[[module]]
|
[[module]]
|
||||||
name = "ts_oracle"
|
name = "ts_oracle"
|
||||||
mem_pages_count = 1
|
max_heap_size = "10 KiB"
|
||||||
logger_enabled = true
|
logger_enabled = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user