Skip to content

Commit

Permalink
Fix CI failure related to MaxTasksPerBlock set too high (#1196)
Browse files Browse the repository at this point in the history
  • Loading branch information
4meta5 authored Oct 12, 2024
1 parent 15ba347 commit 5a40fea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion runtimes/mainnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1400,7 +1400,7 @@ impl pallet_tasks::Config for Runtime {
type WeightInfo = weights::tasks::WeightInfo<Runtime>;
type Networks = Networks;
type Shards = Shards;
type MaxTasksPerBlock = ConstU32<1_500>;
type MaxTasksPerBlock = ConstU32<500>;
type MaxBatchesPerBlock = ConstU32<1_000>;
}

Expand Down
2 changes: 1 addition & 1 deletion runtimes/testnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@ impl pallet_tasks::Config for Runtime {
type WeightInfo = weights::tasks::WeightInfo<Runtime>;
type Networks = Networks;
type Shards = Shards;
type MaxTasksPerBlock = ConstU32<1_500>;
type MaxTasksPerBlock = ConstU32<500>;
type MaxBatchesPerBlock = ConstU32<1_000>;
}

Expand Down

0 comments on commit 5a40fea

Please sign in to comment.