浏览代码

Move shared thread to NSQualityOfServiceUserInitiated (#651)

Co-authored-by: Sam Siner <sam.siner@ninjarmm.com>
Sam Siner 2 年之前
父节点
当前提交
7240f2d25e
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      SocketRocket/Internal/RunLoop/SRRunLoopThread.m

+ 1 - 0
SocketRocket/Internal/RunLoop/SRRunLoopThread.m

@@ -29,6 +29,7 @@
     dispatch_once(&onceToken, ^{
         thread = [[SRRunLoopThread alloc] init];
         thread.name = @"com.facebook.SocketRocket.NetworkThread";
+        thread.qualityOfService = NSQualityOfServiceUserInitiated;
         [thread start];
     });
     return thread;