Эх сурвалжийг харах

Move shared thread to NSQualityOfServiceUserInitiated (#651)

Co-authored-by: Sam Siner <sam.siner@ninjarmm.com>
Sam Siner 2 жил өмнө
parent
commit
7240f2d25e

+ 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;