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
F19078759: D17707.id.diff
Mon, Dec 1, 7:11 PM
F19060587: D17707.id42582.diff
Sat, Nov 29, 9:45 AM
F19058966: D17707.diff
Sat, Nov 29, 4:04 AM
F19025601: D17707.id42599.diff
Mon, Nov 24, 8:10 AM
F18806116: D17707.id42582.diff
Oct 18 2025, 5:50 PM
F18767134: D17707.id.diff
Oct 7 2025, 8:43 PM
F18764691: D17707.id42582.diff
Oct 7 2025, 7:22 AM
F18764164: D17707.id42599.diff
Oct 7 2025, 4:36 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