HomePhabricator
Diffusion Comm 87853f9673db

[native] Implement persistent rust backup client

Description

[native] Implement persistent rust backup client

Summary:
ENG-6213 : Create long lived backup client

Implemented a native rust backup client that creates a websocket connection for logs, keeps it alive and retries when getting an error.

Test Plan:
Tested on Android and iOS:

  • Started the backup handler -> checked the backup service logs for new websocket connection
  • Waited a bit to make sure ping and pongs are handled correctly
  • Killed the backup service and restarted it -> the connectino was restarted automatically

Reviewers: marcin, kamil, bartek

Reviewed By: bartek

Subscribers: ashoat, tomek

Differential Revision: https://phab.comm.dev/D10621

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Jan 15 2024, 4:11 AM
Reviewer
bartek
Differential Revision
D10621: [native] Implement persistent rust backup client
Parents
rCOMM7291cb97f036: [web] add test for one-time keys
Branches
Unknown
Tags
Unknown