Use appropriate QoS classes throughout the codebase

This commit is contained in:
Luna Razzaghipour 2023-05-25 20:55:42 +10:00
parent 2924fd2213
commit d0b001eed2
No known key found for this signature in database
9 changed files with 20 additions and 19 deletions

View file

@ -34,7 +34,7 @@ impl loader::Handle for NotifyHandle {
fn spawn(sender: loader::Sender) -> NotifyHandle {
let actor = NotifyActor::new(sender);
let (sender, receiver) = unbounded::<Message>();
let thread = stdx::thread::Builder::new(stdx::thread::QoSClass::Default)
let thread = stdx::thread::Builder::new(stdx::thread::QoSClass::Utility)
.name("VfsLoader".to_owned())
.spawn(move || actor.run(receiver))
.expect("failed to spawn thread");