1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 06:42:42 +01:00
phorge-phorge/support/aphlict/server/lib
epriestley 88157a9442 Hold recent messages in Aphlict so they can be replayed after clients reconnect
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.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T12563

Differential Revision: https://secure.phabricator.com/D17707
2017-04-17 15:53:58 -07:00
..
AphlictAdminServer.js Hold recent messages in Aphlict so they can be replayed after clients reconnect 2017-04-17 15:53:58 -07:00
AphlictClientServer.js Make paths and Aphlict instance names less ambiguous 2016-04-14 04:57:21 -07:00
AphlictListener.js Complete modernization of Aphlict configuration 2016-04-14 04:57:00 -07:00
AphlictListenerList.js Namespace Aphlict clients by request path, plus other fixes 2015-02-16 11:31:15 -08:00
AphlictLog.js Enable "strict" mode for NodeJS 2015-01-20 07:43:10 +11:00
AphlictPeer.js Support Aphlict clustering 2016-04-14 13:26:30 -07:00
AphlictPeerList.js Support Aphlict clustering 2016-04-14 13:26:30 -07:00
javelin.js Make the Aphlict server more resilient. 2014-06-11 10:17:12 -07:00