facebookincubator / SocketRocket

A conforming Objective-C WebSocket client library.
Other
9.53k stars 2k forks source link

Thread Performance Checker Warning #681

Open nikhiltekwani09 opened 1 month ago

nikhiltekwani09 commented 1 month ago

Hi

I m getting following warning Thread Performance Checker: Thread running at User-interactive quality-of-service class waiting on a lower QoS thread running at Default quality-of-service class. Investigate ways to avoid priority inversions

This error is coming because we are using dispatch_group_wait in SRRunLoopThread class. Can some one tell me how to get rid of this warning.

Xcode version 15.3 SocketRocket version 0.6.1 - This coming as a dependency of react native version 0.73.8

funnel20 commented 1 month ago

Duplicate of https://github.com/facebookincubator/SocketRocket/issues/648 and https://github.com/facebookincubator/SocketRocket/issues/661 It has been resolved in version 0.7.0.

For a manual solution to your version 0.6.1, see: https://github.com/facebookincubator/SocketRocket/issues/661#issuecomment-1703842082