Nice-to-have / possible improvement — not on the v1 critical path.
The @stitchapi/download batch scheduler is strictly FIFO — queued items are admitted in enqueue order as slots free. Core throttle has no priority either, so there's no way to say "this download matters more, admit it first."
Suggestion
Expose an optional per-item priority (and/or a comparator) so higher-priority queued items are admitted first when a slot frees; FIFO stays the default and the tie-break within a level. Touches the scheduler's admission (#pump) + the DownloadRequest type.
Rig spec P21 ("Priority / fair scheduling — only if @stitchapi/download exposes priority"). Follow-up to #451.
The
@stitchapi/downloadbatch scheduler is strictly FIFO — queued items are admitted in enqueue order as slots free. Corethrottlehas no priority either, so there's no way to say "this download matters more, admit it first."Suggestion
Expose an optional per-item
priority(and/or a comparator) so higher-priority queued items are admitted first when a slot frees; FIFO stays the default and the tie-break within a level. Touches the scheduler's admission (#pump) + theDownloadRequesttype.Rig spec P21 ("Priority / fair scheduling — only if
@stitchapi/downloadexposes priority"). Follow-up to #451.