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
F19826191: D17707.id42599.diff
Sun, Mar 8, 5:57 PM
F19819804: D17707.id42582.diff
Fri, Mar 6, 9:07 AM
F19818856: D17707.id42582.diff
Fri, Mar 6, 12:46 AM
F19803064: D17707.diff
Sun, Mar 1, 8:39 PM
F19798618: D17707.id42599.diff
Fri, Feb 27, 9:42 PM
F19795612: D17707.id.diff
Thu, Feb 26, 11:38 PM
F19098717: D17707.diff
Dec 4 2025, 5:46 PM
F19078759: D17707.id.diff
Dec 1 2025, 7:11 PM
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
Branch
aphlict5
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 16517
Build 22005: Run Core Tests
Build 22004: arc lint + arc unit