mirror of
https://github.com/fluencelabs/examples
synced 2025-07-04 12:11:34 +00:00
update max_heap_size
This commit is contained in:
@ -56,7 +56,7 @@ export async function main() {
|
|||||||
// setLogLevel('DEBUG');
|
// setLogLevel('DEBUG');
|
||||||
try {
|
try {
|
||||||
// create the Fluence client for the Krasnodar testnet
|
// create the Fluence client for the Krasnodar testnet
|
||||||
await Fluence.start({ connectTo: krasnodar[5] });
|
await Fluence.start({ connectTo: krasnodar[6] });
|
||||||
console.log(
|
console.log(
|
||||||
'Created a fluence client with peer id %s and relay id %s',
|
'Created a fluence client with peer id %s and relay id %s',
|
||||||
Fluence.getStatus().peerId,
|
Fluence.getStatus().peerId,
|
||||||
|
@ -3,7 +3,7 @@ modules_dir = "artifacts/"
|
|||||||
[[module]]
|
[[module]]
|
||||||
name = "curl_adapter"
|
name = "curl_adapter"
|
||||||
logger_enabled = false
|
logger_enabled = false
|
||||||
mem_pages_count = 1
|
max_heap_size = "10 KiB"
|
||||||
|
|
||||||
[module.mounted_binaries]
|
[module.mounted_binaries]
|
||||||
curl = "/usr/bin/curl"
|
curl = "/usr/bin/curl"
|
||||||
@ -11,9 +11,9 @@ modules_dir = "artifacts/"
|
|||||||
[[module]]
|
[[module]]
|
||||||
name = "price_getter_service"
|
name = "price_getter_service"
|
||||||
logger_enabled = false
|
logger_enabled = false
|
||||||
mem_pages_count = 1
|
max_heap_size = "5 KiB"
|
||||||
|
|
||||||
[[module]]
|
[[module]]
|
||||||
name = "mean_service"
|
name = "mean_service"
|
||||||
logger_enabled = false
|
logger_enabled = false
|
||||||
mem_pages_count = 1
|
max_heap_size = "5 KiB"
|
||||||
|
Reference in New Issue
Block a user