Open finndev opened 1 year ago
You want to get the position of a task in queue? There's no API for this yet. I'll add this to backlog.
New API /task/{id}/position
was added in the latest update, you can give it a try. Positions also returned via /task/{id}
and /queue
APIs
It would be also cool to get a percents of creation if status is generating
Have I missed something in the docs? I have queued 10 items to the scheduler and I would like to the queue position for task id X. This doesn't seem possible in a fast way.
The history and queue API could do that, but it is incredibly slow when having multiple tasks queued.