Page MenuHomePhabricator

[native] Start/stop backup client from JS
ClosedPublic

Authored by michal on Jan 15 2024, 4:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 21, 3:52 AM
Unknown Object (File)
Thu, Nov 21, 3:52 AM
Unknown Object (File)
Oct 22 2024, 1:06 PM
Unknown Object (File)
Oct 22 2024, 9:00 AM
Unknown Object (File)
Oct 22 2024, 5:31 AM
Unknown Object (File)
Oct 22 2024, 5:31 AM
Unknown Object (File)
Oct 3 2024, 7:01 AM
Unknown Object (File)
Sep 5 2024, 3:06 PM
Subscribers

Details

Summary

ENG-6213 : Create long lived backup client

Start and stop the rust backup client handler from JS if a user is a logged in staff and enables it in the settings.

Depends on D10621

Test Plan

Monitor backup service logs and:

  • Enable the backup handler in menu -> the websocket in connected
  • Check that the websocket is disconnected after disabling the backup handler in menu or logging out
  • Check that the websocket automatically reconnects after app is closed and opened (without logging out) and when backup service is killed (simulating network issues)

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage