Skip to content

Commit 0bf5655

Browse files
committed
refactor: use same MaximumSchedulerWeight as on polkadot / kusama
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
1 parent 6053ac5 commit 0bf5655

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

parachain/runtime/interlay/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ impl orml_vesting::Config for Runtime {
420420
}
421421

422422
parameter_types! {
423-
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block;
423+
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
424424
pub const MaxScheduledPerBlock: u32 = 30;
425425
}
426426

parachain/runtime/kintsugi/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ impl pallet_preimage::Config for Runtime {
433433
}
434434

435435
parameter_types! {
436-
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block;
436+
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
437437
pub const MaxScheduledPerBlock: u32 = 30;
438438
}
439439

parachain/runtime/testnet-interlay/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ impl orml_vesting::Config for Runtime {
395395
}
396396

397397
parameter_types! {
398-
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block;
398+
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
399399
pub const MaxScheduledPerBlock: u32 = 30;
400400
}
401401

parachain/runtime/testnet-kintsugi/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ impl orml_vesting::Config for Runtime {
395395
}
396396

397397
parameter_types! {
398-
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block;
398+
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
399399
pub const MaxScheduledPerBlock: u32 = 30;
400400
}
401401

standalone/runtime/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ impl orml_vesting::Config for Runtime {
368368
}
369369

370370
parameter_types! {
371-
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(10) * RuntimeBlockWeights::get().max_block;
371+
pub MaximumSchedulerWeight: Weight = Perbill::from_percent(80) * RuntimeBlockWeights::get().max_block;
372372
pub const MaxScheduledPerBlock: u32 = 30;
373373
}
374374

0 commit comments

Comments
 (0)