fix: reorder task schedule on priority upgrade

When an already queued task is re-pushed with a higher priority, update schedule.prio and immediately re-sort self._schedule so it executes ahead of lower-priority tasks. Also notify waiting runners and refresh metrics.

Merge request reports

Loading
Loading