소스 검색

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