From 5a40fea4f70c870fd4b73b8f36ceb7da2ac323ec Mon Sep 17 00:00:00 2001 From: Amar Singh Date: Sat, 12 Oct 2024 00:34:16 -0400 Subject: [PATCH] Fix CI failure related to MaxTasksPerBlock set too high (#1196) --- runtimes/mainnet/src/lib.rs | 2 +- runtimes/testnet/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtimes/mainnet/src/lib.rs b/runtimes/mainnet/src/lib.rs index 50e6f5913..2edfd3207 100644 --- a/runtimes/mainnet/src/lib.rs +++ b/runtimes/mainnet/src/lib.rs @@ -1400,7 +1400,7 @@ impl pallet_tasks::Config for Runtime { type WeightInfo = weights::tasks::WeightInfo; type Networks = Networks; type Shards = Shards; - type MaxTasksPerBlock = ConstU32<1_500>; + type MaxTasksPerBlock = ConstU32<500>; type MaxBatchesPerBlock = ConstU32<1_000>; } diff --git a/runtimes/testnet/src/lib.rs b/runtimes/testnet/src/lib.rs index 54cca77de..3a4cba53c 100644 --- a/runtimes/testnet/src/lib.rs +++ b/runtimes/testnet/src/lib.rs @@ -1004,7 +1004,7 @@ impl pallet_tasks::Config for Runtime { type WeightInfo = weights::tasks::WeightInfo; type Networks = Networks; type Shards = Shards; - type MaxTasksPerBlock = ConstU32<1_500>; + type MaxTasksPerBlock = ConstU32<500>; type MaxBatchesPerBlock = ConstU32<1_000>; }