Page MenuHomePhabricator

[keyserver] Construct a new TunnelbrokerSocket when one closes
ClosedPublic

Authored by ashoat on Mar 26 2024, 8:25 PM.
Tags
None
Referenced Files
F1769205: D11392.diff
Wed, May 15, 9:16 AM
Unknown Object (File)
Mon, Apr 29, 7:09 AM
Unknown Object (File)
Apr 14 2024, 7:43 PM
Unknown Object (File)
Apr 14 2024, 7:43 PM
Unknown Object (File)
Apr 14 2024, 7:43 PM
Unknown Object (File)
Apr 14 2024, 7:43 PM
Unknown Object (File)
Apr 14 2024, 7:42 PM
Unknown Object (File)
Apr 6 2024, 1:12 AM
Subscribers

Details

Summary

This resolves ENG-4924, and should address ENG-7318 as well.

Depends on D11391

Test Plan

I let the connection go away when my laptop went to sleep, and confirmed it was recreated after it was woken up

Diff Detail

Repository
rCOMM Comm
Branch
ashoat/tunnelbroker
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil added inline comments.
keyserver/src/socket/tunnelbroker.js
49 ↗(On Diff #38351)

I would put 3000 to a const with a descriptive name, but probably this is also fine

This revision is now accepted and ready to land.Mar 27 2024, 12:35 AM

Add a constant for reconnect delay. Also add a similar constant for the similar logic in lib/socket/socket.react.js

This revision was landed with ongoing or failed builds.Mar 27 2024, 5:25 AM
This revision was automatically updated to reflect the committed changes.