Skip to content

[0.76] Pick bugfix reducing DevTools connection drops by increasing WS ping-pong timeout before killing connection #800

@vzaidman

Description

@vzaidman

Target Branch(es)

0.76

Link to commit or PR to be picked

facebook/react-native#49358

Description

A WS ping-pong between inspector proxy and react DevTools is used to detect abrupt connection losses on DevTools and kill the connection.

When the network is under strain we currently prematurely assume the connection is dead and kill it. This PR increases the wait time to 60s instead of 5s, leading to significantly less false positives.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Projects

    Status

    Done / Picked

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions