Skip to content
Permalink
Browse files
Bump the priority of iOS ProcessAssertion Queue
https://bugs.webkit.org/show_bug.cgi?id=240784

Patch by Youenn Fablet <youennf@gmail.com> on 2022-05-23
Reviewed by Chris Dumez.

It is important to acquire assertions in a timely manner as otherwise the UIProcess
might think a process is unresponsive.
Bump the priority to WorkQueue::QOS::UserInitiated.

* Source/WebKit/UIProcess/ios/ProcessAssertionIOS.mm:
(assertionsWorkQueue):

Canonical link: https://commits.webkit.org/250874@main
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@294650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
  • Loading branch information
youennf authored and webkit-commit-queue committed May 23, 2022
1 parent 60431ae commit 0f9af8a58c18234b3572cfb7220db5ccf6b51c4f
Showing 1 changed file with 1 addition and 1 deletion.
@@ -44,7 +44,7 @@

static WorkQueue& assertionsWorkQueue()
{
static NeverDestroyed<Ref<WorkQueue>> workQueue(WorkQueue::create("ProcessAssertion Queue"));
static NeverDestroyed<Ref<WorkQueue>> workQueue(WorkQueue::create("ProcessAssertion Queue", WorkQueue::QOS::UserInitiated));
return workQueue.get();
}

0 comments on commit 0f9af8a

Please sign in to comment.