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
F3382758: D11215.diff
Thu, Nov 28, 11:53 AM
Unknown Object (File)
Oct 29 2024, 11:48 AM
Unknown Object (File)
Oct 21 2024, 3:30 AM
Unknown Object (File)
Oct 4 2024, 3:44 AM
Unknown Object (File)
Oct 4 2024, 3:44 AM
Unknown Object (File)
Oct 4 2024, 3:44 AM
Unknown Object (File)
Oct 4 2024, 3:43 AM
Unknown Object (File)
Aug 29 2024, 12:45 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