From 32c7ad813737204a5fc5457d93fb6a4e527c06df Mon Sep 17 00:00:00 2001 From: Cheng JIANG Date: Sat, 30 Oct 2021 23:42:37 +0800 Subject: [PATCH] increase ump_service_total_weight's default value (#4127) * increase ump_service_total_weight's default value to be the same with kusama * remove comment --- polkadot/node/service/src/chain_spec.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/polkadot/node/service/src/chain_spec.rs b/polkadot/node/service/src/chain_spec.rs index 59dc3fcfd4..75a4e721f3 100644 --- a/polkadot/node/service/src/chain_spec.rs +++ b/polkadot/node/service/src/chain_spec.rs @@ -182,12 +182,7 @@ fn default_parachains_host_configuration( max_upward_queue_count: 8, max_upward_queue_size: 1024 * 1024, max_downward_message_size: 1024 * 1024, - // this is approximatelly 4ms. - // - // Same as `4 * frame_support::weights::WEIGHT_PER_MILLIS`. We don't bother with - // an import since that's a made up number and should be replaced with a constant - // obtained by benchmarking anyway. - ump_service_total_weight: 4 * 1_000_000_000, + ump_service_total_weight: 100_000_000_000, max_upward_message_size: 1024 * 1024, max_upward_message_num_per_candidate: 5, hrmp_sender_deposit: 0,