Skip to content

queues: Sort shard queue

Arkadiusz Hiler requested to merge ivyl/i915-infra:sort_shards_queue into master

The shard queue we get from the CI system is a dump of anything that is currency queued or in-flight. This means it's unsorted.

Let's sort it on our side.

  1. start a worker thread, do all the XHR requests for the timestamps synchronously
  2. sort the array when we are done
  3. use Client.postMessage() to notify the main thread to update DOM
  4. spawn all the remaining XHRs to get the series names

Fixes #35 (closed)

Signed-off-by: Arkadiusz Hiler arkadiusz.hiler@intel.com

Merge request reports

Loading