0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-10 20:11:07 +01:00
Commit graph

46 commits

Author SHA1 Message Date
Jason Volk
0cbe9b0afa modules/s_fetch: Clear the origin after cancel so it's not re-attempted. 2019-04-24 14:23:48 -07:00
Jason Volk
c58a03f30a modules/s_fetch: Use event_auth for all auth event fetches. 2019-04-23 19:17:30 -07:00
Jason Volk
f84e2ce618 modules/s_fetch: Handle more detailed exception types. 2019-04-23 19:08:12 -07:00
Jason Volk
7bdf88bb9e modules/s_fetch: Use proper reset technique on request. 2019-04-23 18:24:11 -07:00
Jason Volk
771e5bb5da modules/s_fetch: Improve conditions checking and throw points. 2019-04-23 18:15:47 -07:00
Jason Volk
8b89b9caaf ircd: Simplify log msgs. 2019-04-23 18:15:47 -07:00
Jason Volk
8208a67e7f modules/s_fetch: Enable by default via conf item. 2019-04-23 13:27:53 -07:00
Jason Volk
4b3a828c01 modules/s_fetch: Log errors from the fetch hook handler. 2019-04-22 18:55:34 -07:00
Jason Volk
ee6760a655 modules/s_fetch: Tweak prev event checking options; fix condition; dispatch state_ids(). 2019-04-22 18:55:34 -07:00
Jason Volk
6df0b72e21 modules/s_fetch: Various conditions to bypass fetch. 2019-04-22 18:30:08 -07:00
Jason Volk
f6314a4201 modules/s_fetch: Minor reorg; pass room arg to fetch::synchronize(). 2019-04-22 12:45:45 -07:00
Jason Volk
7d3ccb975a modules/s_fetch: Add dispatch and wait logic to fetch hook handler. 2019-04-22 12:28:45 -07:00
Jason Volk
e3b1be2910 ircd:Ⓜ️:vm: Refactor various fetch related options. 2019-04-22 12:27:43 -07:00
Jason Volk
b683f1d436 modules/vm: Assert options; prevent assignment of eval. 2019-04-22 12:23:37 -07:00
Jason Volk
0176dba9a8 ircd:Ⓜ️:fetch: Consolidate interface; remove unused; reorg. 2019-04-18 19:12:37 -07:00
Jason Volk
5232893c6a ircd:Ⓜ️:fetch: Checkpoint frontfill / head selection related. 2019-04-18 05:17:49 -07:00
Jason Volk
bc922724cd ircd:Ⓜ️:feds: Refactor interface into opcode ABI. 2019-04-18 05:16:21 -07:00
Jason Volk
871fb748eb ircd:Ⓜ️:fetch: Pass boolean values down the stack for start/prefetch. 2019-04-18 01:21:22 -07:00
Jason Volk
474dff9f9f modules/s_fetch: Simplify origin selection branch. 2019-04-15 17:18:31 -07:00
Jason Volk
01fcef7eed modules/s_fetch: Additional break conditions for request handling loop. 2019-04-15 17:09:35 -07:00
Jason Volk
fde3e48fbf modules/s_fetch: Call for explicit destruction/cancel on error. 2019-04-15 15:23:44 -07:00
Jason Volk
484d298afb modules/s_fetch: Add proper fetch timeout logic. 2019-04-15 11:37:13 -07:00
Jason Volk
0ce0fe3890 ircd::server: Enable the cancel debug msg.
modules/s_fetch: Improve log level.
2019-04-12 14:26:10 -07:00
Jason Volk
1dcd4c8eb6 modules/s_fetch: Condition fetch::start() on runlevel. 2019-04-12 14:15:32 -07:00
Jason Volk
1063fcb657 modules/s_fetch: Report nr of reaped requests. 2019-04-12 13:03:29 -07:00
Jason Volk
12109be1a7 modules/s_fetch: Use m::event:prev parsing here. 2019-04-12 12:40:10 -07:00
Jason Volk
85359d6662 modules/s_fetch: Use better user_id param on headfill. 2019-04-12 12:34:23 -07:00
Jason Volk
40bc440133 modules/s_fetch: Clear all requests on unload. 2019-04-12 11:34:38 -07:00
Jason Volk
e90d016d2e modules/s_fetch: Improve error handling on submit()/start(request). 2019-04-12 05:36:04 -07:00
Jason Volk
d7cc387688 modules/s_fetch: Minor simplify start() with prefetch(). 2019-04-12 05:13:42 -07:00
Jason Volk
2822cd0a8a ircd:Ⓜ️:fetch: Add headfill operation. 2019-04-12 05:09:38 -07:00
Jason Volk
eb33688bc1 ircd:Ⓜ️:fetch: Add additional interface tools; consolidate interface; cleanup/reorg.
ircd:Ⓜ️:fetch: Add backfill suite.
2019-04-12 04:44:26 -07:00
Jason Volk
8e5c858697 modules/s_fetch: Fix gc iteration conditions. 2019-04-12 03:36:03 -07:00
Jason Volk
c14d67102a ircd:Ⓜ️:fetch: Reorient interface to expose fetch::request. 2019-04-12 03:35:46 -07:00
Jason Volk
06e381ce2b ircd:Ⓜ️:feds: Use a misc arg vector of string_view's. 2019-04-12 00:52:29 -07:00
Jason Volk
aad53ba614 modules/s_fetch: Add conf item to toggle central control of unit. 2019-04-11 20:53:57 -07:00
Jason Volk
ebdbc0864c modules/s_fetch: Enable recursive fetch. 2019-04-11 08:08:47 -07:00
Jason Volk
4500df4b78 modules/client/rooms/initialsync: Preliminary fetch trigger here.
modules/s_fetch: Start the prev_events fetch here.
2019-04-11 07:01:56 -07:00
Jason Volk
c9c171ed5b ircd:Ⓜ️:feds: Refine the feds preliminary central interface. 2019-04-11 06:27:28 -07:00
Jason Volk
66c73e2a65 modules/s_fetch: Add a request map cleanup pass. 2019-04-10 23:29:56 -07:00
Jason Volk
562651aa7d ircd:Ⓜ️:fetch: Add fetch+eval workers; start central interface; various. 2019-04-10 22:32:06 -07:00
Jason Volk
0043cb2af7 modules/s_fetch: Add branch for auth chain fetch/eval on missing room state for event. 2019-03-27 14:09:40 -07:00
Jason Volk
1c5b7d2d71 ircd:Ⓜ️:room::auth: Add central interface for chain fetch/eval. 2019-03-27 13:44:33 -07:00
Jason Volk
d64a49428e ircd:Ⓜ️ Demote membership from top-level key; remove from m::event tuple. 2019-01-24 12:52:26 -08:00
Jason Volk
e54b32986c modules/s_fetch: Checkpoint. 2018-11-30 12:59:44 -08:00
Jason Volk
c83d17396b modules: Rename vm_fetch to s_fetch. 2018-10-23 09:13:48 -07:00
Renamed from modules/vm_fetch.cc (Browse further)