You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Limit WebSocket queue size for packager connection (#54300)
Summary:
Pull Request resolved: #54300
# Changelog: [Internal]
Establishes a queue mechanism on top of the OkHttp's WebSocket implementation. This mechanism will control the queue size and guarantee that we don't have more than 16MB scheduled.
This prevents the scenario of when OkHttp forces WS disconnection because of this threshold.
Reviewed By: motiz88, alanleedev
Differential Revision: D85581509
fbshipit-source-id: ac3e830c935c1301b674739c96fcbe18446eaa71
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/CxxInspectorPackagerConnection.kt
Copy file name to clipboardExpand all lines: packages/react-native/ReactAndroid/src/main/jni/react/devsupport/JCxxInspectorPackagerConnectionWebSocket.cpp
+29-2Lines changed: 29 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,17 +5,44 @@
5
5
* LICENSE file in the root directory of this source tree.
0 commit comments