gs-worker-thread: Change thread I/O priority depending on job priority

Philip Withnall requested to merge pwithnall/gnome-software:ioprio into main

Use the priority passed in to gs_worker_thread_queue() to adjust the I/O priority of the worker thread for that job.

This should ensure that low priority jobs can’t slow the system down by grinding the disk in the background.

Signed-off-by: Philip Withnall

Merge request reports