0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-12 21:11:14 +01:00
Commit graph

139 commits

Author SHA1 Message Date
Jason Volk
c8dc1232ee modules/client/sync: Interrupt longpolling clients for faster graceful shutdown. 2020-02-19 16:25:24 -08:00
Jason Volk
3b5bdd7cc8 modules/client/sync: Fix unattended narrowing conversion. 2020-02-19 13:26:13 -08:00
Jason Volk
58382af029 modules/client/sync: Fix warnings for clang. 2020-02-12 14:34:26 -08:00
Jason Volk
1e994c0a3e ircd: Increase various 96_KiB default buffer sizes to 128_KiB. 2020-01-23 18:47:23 -08:00
Jason Volk
d9c7985376 ircd:Ⓜ️:sync: Add next_batch central convenience; add branding to token. 2020-01-06 13:24:21 -08:00
Jason Volk
35d3e71020 modules/client/sync: Fix timeout rel/abs regression. 2019-12-05 10:30:50 -08:00
Jason Volk
9bb4936625 modules/client: Minor upgrades to std::clamp/std::minmax templates. 2019-10-10 13:35:02 -07:00
Jason Volk
183acf8efc ircd:Ⓜ️:sync: Increase token buffer; use function reference. 2019-09-23 14:18:22 -07:00
Jason Volk
2b3de2ea69 ircd::resource: Add assertions; fix error. 2019-09-23 12:58:34 -07:00
Jason Volk
39ade19ae3 ircd::ctx: Switch from steady_timer to deadline_timer. 2019-09-22 20:59:54 -07:00
Jason Volk
5b088551ae modules/client/sync: Minor cleanup;
modules/client/sync: Consolidate header.
2019-09-09 12:08:07 -07:00
Jason Volk
2c57890e0f modules/client/sync: Increase the linear buffer size. 2019-08-12 01:39:16 -07:00
Jason Volk
aa4147b02a ircd:Ⓜ️:sync: Fix conditions for non-phased non-initial sync items. 2019-08-11 08:15:36 -07:00
Jason Volk
e0fec1e81d modules/client/sync: Add device_id to sync data. 2019-08-06 19:18:03 -07:00
Jason Volk
09b7299ca8 modules/client/sync: Implement full_state request functionality. (#105) 2019-08-02 15:04:29 -07:00
Jason Volk
6495fa55d5 modules/client/sync: Move the sync::args ctor definition into unit. 2019-08-02 15:04:29 -07:00
Jason Volk
a151eadd62 modules/client/sync: Clarify double deindirection. 2019-07-20 21:42:32 -07:00
Jason Volk
4b831a6a30 modules/client/sync: Decrease the default flush high water mark. 2019-07-17 18:34:42 -07:00
Jason Volk
c1b3dc1142 modules/federation/sender: Don't propagate exceptions outside of the hook handler. 2019-07-13 23:20:03 -07:00
Jason Volk
023167b440 modules/client/sync: Add a 'semaphore mode' for muted sync. 2019-07-12 19:29:51 -07:00
Jason Volk
6b54ab902e modules/client/sync: Minor cleanup of condition statements. 2019-07-12 19:29:51 -07:00
Jason Volk
975e3d8700 modules/client/sync: Fix/improve longpoll behavior as a fallback. 2019-07-09 19:53:25 -07:00
Jason Volk
62ede2f954 modules/client/sync: Update some comments/docs. 2019-07-09 19:22:15 -07:00
Jason Volk
de97c688cc modules/client/sync: Increase default main buffers. 2019-07-08 06:03:20 -07:00
Jason Volk
61fcc07fcf modules/client/sync: Refactor longpoll handler. 2019-07-08 06:03:20 -07:00
Jason Volk
7dc5d30405 ircd:Ⓜ️:sync: Move data ctor to module. 2019-07-08 06:03:20 -07:00
Jason Volk
11dd47a8aa ircd:Ⓜ️:sync: Add pointer to struct args in struct data. 2019-07-08 06:03:20 -07:00
Jason Volk
6fb6f096de modules/client/sync: Pack the upper-bound into the phased polylog since token. 2019-07-06 22:25:16 -07:00
Jason Volk
5c8425d047 modules/client/sync: Add comments to main frame. 2019-07-06 22:25:16 -07:00
Jason Volk
18f07b6378 ircd:Ⓜ️:sync: Move definitions to module.
ircd:Ⓜ️:sync: Give sync::data an instance_list.
2019-07-06 22:25:12 -07:00
Jason Volk
767e18791c modules/client/sync: Fix queue pop. 2019-07-06 05:50:13 -07:00
Jason Volk
5cf7eb9db4 modules/client/sync: Enable crazyloading by default. 2019-07-06 02:06:46 -07:00
Jason Volk
87e8b5eb1f modules/client/sync: Minor reorg; increase default timeout conf items. 2019-06-07 21:56:17 -07:00
Jason Volk
454051f9f3 modules/client/sync: Condition for client / socket in longpoll::poll loop. 2019-04-19 18:21:17 -07:00
Jason Volk
e9a6f2ec92 modules/client/sync: Disable phased sync by default for now until stable. 2019-04-08 06:54:54 -07:00
Jason Volk
a82410009e ircd:Ⓜ️:sync: Introduce phased polylogarithmic initial sync. 2019-04-08 02:46:49 -07:00
Jason Volk
0f2dcf1706 modules/client/sync: Rename conf item. 2019-04-08 00:03:17 -07:00
Jason Volk
a83e304382 modules/client/sync: Manually invalidate checkpoints on known polylog commitments. 2019-03-30 15:02:18 -07:00
Jason Volk
f7fa89b061 ircd::json::stack: Alter checkpoint rollback() behavior to proactive. 2019-03-30 14:13:34 -07:00
Jason Volk
0e6e556d50 modules/client/sync: Reuse scratch buffer on longpoll handles. 2019-03-27 23:50:43 -07:00
Jason Volk
5d06042140 modules/client/sync: Use the same linear vector merge in longpoll handler. 2019-03-27 20:28:59 -07:00
Jason Volk
394ec523a2 ircd:Ⓜ️:sync: Do a full iteration of all linear sync items even if success. 2019-03-27 20:13:04 -07:00
Jason Volk
5b951b55c5 modules/vm: Add sequencing points.
ircd:Ⓜ️:vm: Reorganize sequence counters.
2019-03-19 16:31:05 -07:00
Jason Volk
22fe24f54f modules/client/sync: Add linear buffer size conf item; add help texts to some confs. 2019-03-17 13:24:24 -07:00
Jason Volk
9ab3549660 modules/client/sync: Tweak log message format; cleanup longpoll::accepted struct. 2019-03-17 13:18:33 -07:00
Jason Volk
4e618175c7 modules/client/sync: Try to ensure all next_batch tokens are limited to the upper bound. 2019-03-16 18:12:38 -07:00
Jason Volk
7fc68e1933 modules/client/sync: When longpoll hits an unsequenced EDU, the next_batch must repeat the current since token. 2019-03-16 12:59:18 -07:00
Jason Volk
03abdd5ac6 modules/client/sync: Improve since token rejection message. 2019-03-16 12:26:03 -07:00
Jason Volk
f745787ce4 modules/client/sync: Check if the client is still alive during longpoll. 2019-03-12 18:41:05 -07:00
Jason Volk
58159d3ee6 modules/client/sync: Fix condition to skip linear for longpoll. 2019-03-08 17:47:29 -08:00