Scheduler: an overweight task removed silently #195
Labels
C1-mentor
A task where a mentor is available. Please indicate in the issue who the mentor could be.
D0-easy
Can be fixed primarily by duplicating and adapting code by an intermediate coder.
I2-bug
The node fails to follow expected behavior.
T1-FRAME
This PR/Issue is related to core FRAME, the framework.
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Description of bug
A task which does not passes this weight check will be removed silently.
https://github.com/paritytech/substrate/blob/a7bc9c2a8c0a14fd6033de1f972a11a2b3dbb73a/frame/scheduler/src/lib.rs#L1014
Steps to reproduce
Schedule a task with a big len, to not pass that check.
The task wont be postponed even if its not a first task and removed silently with no errors
mentor: @muharem
The text was updated successfully, but these errors were encountered: