issue: https://linear.app/comm/issue/ENG-5914/stop-calling-logout-from-socket
See this comment. We want to stop calling logout from the Socket, and instead set conneciotnIssue. But for the time baing we will log the user out from KeyserverConnectionHandler if connectionIssue was set. This will be updated in the future to instead retry the keyserver from time to time.
Details
Details
Dispatched the setConnectionIssueActionTypes, checked that the user is logged out.
Diff Detail
Diff Detail
- Repository
- rCOMM Comm
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
lib/components/keyserver-connection-handler.js | ||
---|---|---|
23–31 ↗ | (On Diff #34825) | It might be possible that one connection issue is overridden by another - in that case, we would dispatch a logout twice. To avoid that, we should select a boolean telling if there's a connection issue. |