HomePhabricator
Diffusion Comm 563b6202403e

[identity] [8/n] Implement Heartbeats on identity search ws server

Description

[identity] [8/n] Implement Heartbeats on identity search ws server

Summary:
This implemented heartbeats, setting a timing out after 3 seconds and sending a heartbeat every 3 seconds.

Depends on D10874

Test Plan: Tested on local dev. Without sending a heartbeat or search query at least every 3 seconds, the websocket connection will automatically close. The client also receives a heartbeat every 3 seconds as well.

Reviewers: varun, bartek

Reviewed By: bartek

Subscribers: ashoat, tomek

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

Details

Provenance
willAuthored on Jan 29 2024, 4:09 PM
Reviewer
bartek
Differential Revision
D10875: [identity] [8/n] Implement Heartbeats on identity search ws server
Parents
rCOMMcf573294103b: [identity] [7/n] Replaces sending messages with `send_message` function
Branches
Unknown
Tags
Unknown