mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-23 04:06:20 +00:00
Scheduler pre block limit note (#13231)
Co-authored-by: parity-processbot <>
This commit is contained in:
1 parent
7e3e3db282
commit
e524bf0e30
3 files changed
+16
-10
No files matched your search
@@ -364,7 +364,10 @@ impl pallet_scheduler::Config for Runtime {
|
||||
type RuntimeCall = RuntimeCall;
|
||||
type MaximumWeight = MaximumSchedulerWeight;
|
||||
type ScheduleOrigin = EnsureRoot<AccountId>;
|
||||
#[cfg(feature = "runtime-benchmarks")]
|
||||
type MaxScheduledPerBlock = ConstU32<512>;
|
||||
#[cfg(not(feature = "runtime-benchmarks"))]
|
||||
type MaxScheduledPerBlock = ConstU32<50>;
|
||||
type WeightInfo = pallet_scheduler::weights::SubstrateWeight<Runtime>;
|
||||
type OriginPrivilegeCmp = EqualPrivilegeOnly;
|
||||
type Preimages = Preimage;
|
||||
|
||||
Reference in new issue
Block a user