JsonRpcWebSocket doens't resend requests after reconnecting
pro-wh opened this issue · comments
pro-wh commented
What's the fate of requests that have been sent when the websocket closes due to a network error? It looks like currently their promises remain unfulfilled forever.
Details
Should JsonRpcWebSocket reject all pending requests at that time? Should it resend those requests after it reconnects?
Related: @eauge proposed that the promises should reject after some timeout.
Acceptance Criteria
Armani Ferrante commented
@pro-wh is this popping up in the wild as a problem? If so, let's label as a P1.
pro-wh commented
theoretical. but I think we don't have analytics to detect this specifically
Armani Ferrante commented
The more I see this the more uneasy I feel. Bumping priority.
Armani Ferrante commented
We decided to punt this to the application layer. Closing.