Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AHM] pause scheduler during migration #580

Conversation

muharem
Copy link
Contributor

@muharem muharem commented Feb 6, 2025

meant to be merged into ahm dev branch

Pause the scheduler pallet during migration.

We can pause the scheduler by setting it's weight limit for task processing to zero. It will end early on_initialize without error:
https://github.com/paritytech/polkadot-sdk/blob/f373af0d1c1e296c1b07486dd74710b40089250e/substrate/frame/scheduler/src/lib.rs#L1156

@muharem muharem marked this pull request as ready for review February 7, 2025 09:23
@ggwpez ggwpez merged commit 4b3940b into polkadot-fellows:dev-asset-hub-migration Feb 7, 2025
16 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants