Page MenuHomePhabricator

Hold recent messages in Aphlict so they can be replayed after clients reconnect
ClosedPublic

Authored by epriestley on Apr 17 2017, 8:49 PM.
Tags
None
Referenced Files
F12192923: D17707.diff
Sat, Sep 23, 6:13 AM
F12167892: D17707.diff
Thu, Sep 7, 3:35 AM
F12156007: D17707.diff
Mon, Sep 4, 8:28 PM
F12148012: D17707.diff
Sep 1 2023, 8:32 PM
F12139616: D17707.id.diff
Aug 28 2023, 7:15 AM
Unknown Object (File)
Aug 8 2023, 6:44 AM
Unknown Object (File)
Jul 22 2023, 6:12 AM
Unknown Object (File)
Jul 12 2023, 2:10 AM
Subscribers
None

Details

Summary

Ref T12563. Before broadcasting messages from the server, store them in a history buffer.

A future change will let clients retrieve them.

Test Plan
  • Used the web frontend to look at the buffer, reloaded over time, sent messages. Saw buffer size go up as I sent messages and fall after 60 seconds.
  • Set size to 4 messages, sent a bunch of messages, saw the buffer size max out at 4 messages.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable