Page MenuHomePhabricator

[lib][native][web] Use unified keyserver session recovery in lib/socket/socket.react.js
ClosedPublic

Authored by ashoat on Mar 3 2024, 8:48 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 13, 12:33 AM
Unknown Object (File)
Apr 4 2024, 7:02 PM
Unknown Object (File)
Apr 4 2024, 7:02 PM
Unknown Object (File)
Apr 4 2024, 6:43 PM
Unknown Object (File)
Mar 16 2024, 11:41 AM
Unknown Object (File)
Mar 15 2024, 2:03 PM
Unknown Object (File)
Mar 13 2024, 1:46 AM
Unknown Object (File)
Mar 12 2024, 7:25 PM
Subscribers
None

Details

Summary

Instead of dispatching a call from Socket, we should use the unified mechanism owned by KeyserverConnectionHandler. This way, we can avoid multiple simultaneous recoveries being dispatched at once.

It's okay to remove the SET_NEW_SESSION call here because KeyserverConnectionHandler handles dispatching this in the case where the keyserver session recovery fails.

Depends on D11214

Test Plan

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable