Skip to content

Commit 2e324a6

Browse files
[stable2512] Backport #11062 (#11132)
Backport #11062 into `stable2512` from bkchr. See the [documentation](https://github.com/paritytech/polkadot-sdk/blob/master/docs/BACKPORT.md) on how to use this bot. <!-- # To be used by other automation, do not modify: original-pr-number: #${pull_number} --> Co-authored-by: Bastian Köcher <git@kchr.de>
1 parent 2ffd843 commit 2e324a6

File tree

1 file changed

+3
-4
lines changed
  • cumulus/parachains/runtimes/coretime/coretime-westend/src

1 file changed

+3
-4
lines changed

cumulus/parachains/runtimes/coretime/coretime-westend/src/coretime.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -319,16 +319,15 @@ impl pallet_broker::Config for Runtime {
319319
type Currency = Balances;
320320
type OnRevenue = BurnCoretimeRevenue;
321321
type TimeslicePeriod = ConstU32<{ coretime::TIMESLICE_PERIOD }>;
322-
// We don't actually need any leases at launch but set to 10 in case we want to sudo some in.
323-
type MaxLeasedCores = ConstU32<10>;
324-
type MaxReservedCores = ConstU32<10>;
322+
type MaxLeasedCores = ConstU32<50>;
323+
type MaxReservedCores = ConstU32<50>;
325324
type Coretime = CoretimeAllocator;
326325
type ConvertBalance = sp_runtime::traits::Identity;
327326
type WeightInfo = weights::pallet_broker::WeightInfo<Runtime>;
328327
type PalletId = BrokerPalletId;
329328
type AdminOrigin = EnsureRoot<AccountId>;
330329
type SovereignAccountOf = SovereignAccountOf;
331-
type MaxAutoRenewals = ConstU32<20>;
330+
type MaxAutoRenewals = ConstU32<50>;
332331
type PriceAdapter = pallet_broker::MinimumPrice<Balance, MinimumEndPrice>;
333332
type MinimumCreditPurchase = MinimumCreditPurchase;
334333
}

0 commit comments

Comments
 (0)