pub fn set_lease<T: Config>(task: TaskId, until: Timeslice)Expand description
Reserve a core for a single task workload for a limited period.
In the interlude and sale period where Bulk Coretime is sold for the period immediately
after until, then the same workload may be renewed.
origin: Must be Root or passAdminOrigin.task: The workload which should be placed on a core.until: The timeslice now earlier than whichtaskshould be placed as a workload on a core.
§Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::set_lease.