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

10886 commits

Author SHA1 Message Date
Jason Volk
1731ff8bad modules/client/rooms/leave: Override any mismatch between room and user_room. 2019-09-20 15:20:37 -07:00
Jason Volk
57da17f7fa modules/m_room_member: Add chronology condition for ircd.member state. 2019-09-20 15:20:37 -07:00
Jason Volk
fd30c4701c ircd::net::dns: Wait on cache before resolver on fini; replace regressed (26cd9cec85). 2019-09-20 12:34:10 -07:00
Jason Volk
57227c6758 ircd::server: Fix SRV resolution for peers with explicit port numbers. 2019-09-20 12:24:51 -07:00
Jason Volk
cbd46e098b ircd::server: Remove extra format specifier; increase timer.
ircd::server: Assert that op_resolve not set when calling resolve().

ircd::server: Restore op state on unwind for exceptions.
2019-09-20 12:24:42 -07:00
Jason Volk
5b28f51d1e ircd::db::prefetcher: Move all counters into a dedicated structure. 2019-09-20 11:12:16 -07:00
Jason Volk
99d080767f ircd: Add interface to backtrace(3). 2019-09-19 22:07:41 -07:00
Jason Volk
15c4c3cc63 ircd::util: Additional noexcept ctor. 2019-09-19 22:07:41 -07:00
Jason Volk
a8b140ad6d modules/conf: Remove noexcept to propagate termination. 2019-09-19 22:07:41 -07:00
Jason Volk
966e2ce17e configure: Check for execinfo header. 2019-09-19 16:37:45 -07:00
Jason Volk
71a56fecb7 ircd: Move demangle() out of util. 2019-09-19 16:37:45 -07:00
Jason Volk
26cd9cec85 ircd::net::dns::resolver: Wait for all tags before net teardown on fini. 2019-09-19 14:03:48 -07:00
Jason Volk
083493dd1c ircd:Ⓜ️:room: Minor cleanup; move ctor defs out of class. 2019-09-19 11:31:10 -07:00
Jason Volk
d4b0dbaa8c modules: Move room::events::horizon::rebuild() to m_room_events.so. 2019-09-19 11:08:59 -07:00
Jason Volk
6b69fe2d24 ircd::mods::ldso: Improve exceptions for undefined symbols. 2019-09-19 11:00:12 -07:00
Jason Volk
42f02d2aa7 README: Tweak heading style consistency; roadmap related. [skip ci] 2019-09-19 10:28:38 -07:00
Jason Volk
578a0e03fd modules/client/rooms/events: Prevent EDU's from being sent to client here. 2019-09-19 10:20:40 -07:00
Jason Volk
fa698123dc modules/console: Add bare metal latency as control result. 2019-09-19 00:03:05 -07:00
Jason Volk
217076f147 ircd::server: Include peer name in errorlog msg. 2019-09-18 22:44:15 -07:00
Jason Volk
dc5a335968 ircd::db::prefetcher: Add fetched byte counters; accumulated timers. 2019-09-18 22:25:05 -07:00
Jason Volk
8e116e3578 ircd::db::prefetcher: Add yield point. 2019-09-18 20:29:18 -07:00
Jason Volk
9d2e506253 ircd::db: Add direct-dispatch if request worker available; various optimizations. 2019-09-18 20:23:34 -07:00
Jason Volk
e2ed860c04 ircd::ctx::pool: Add wouldblock() convenience to interface. 2019-09-18 20:05:51 -07:00
Jason Volk
becc51af01 ircd:Ⓜ️:event: Branch to end event_idx=0 propagation here. 2019-09-18 20:05:51 -07:00
Jason Volk
788542e833 ircd::db: Simplify seek() templates. 2019-09-18 19:14:52 -07:00
Jason Volk
35d39a7d70 ircd::db: Move prefetcher to header; reorg definitions; minor reorg. 2019-09-18 15:15:02 -07:00
Jason Volk
362122c951 modules/client/sync/rooms/state: Use the viewport size item for iteration depth. 2019-09-18 14:48:32 -07:00
Jason Volk
da6ae72b69 modules/client/sync/rooms/state: Simplify and optimize member event fetching at phase=0. 2019-09-18 14:29:40 -07:00
Jason Volk
2603953809 modules/client/sync/rooms/state: Simplify phase=0 concurrency w/ prefetch. 2019-09-18 14:29:40 -07:00
Jason Volk
c12205e39b ircd:Ⓜ️:room::state: Refactor the prefetch() interface. 2019-09-18 13:39:02 -07:00
Jason Volk
83cce03f6f ircd:Ⓜ️:room::state: Add prefetch() support to state::history/state::space. 2019-09-18 13:30:15 -07:00
Jason Volk
6ed0db3274 modules/client/rooms/messages: Abandon prefetching in the messages handler.
Aborted due to collisions and stalls. Note that messages are already prefetched
by the breadcrumb_rooms handler on room change.
2019-09-18 13:09:19 -07:00
Jason Volk
1d449ed134 modules/client/rooms/members: Support multiple membership constraint query paramters for optimization. 2019-09-18 12:30:51 -07:00
Jason Volk
321b7e32c1 modules/client/rooms/forget: Simplify checks. (closes #130) 2019-09-18 12:30:51 -07:00
Jason Volk
601f26983e ircd:Ⓜ️ Support vector of membership states in optimal aggregate query. 2019-09-18 12:30:51 -07:00
Jason Volk
0d25e68c50 ircd:Ⓜ️ Support query for non-membership with empty string to interface. 2019-09-18 12:30:51 -07:00
Jason Volk
11699baff0 ircd:Ⓜ️ Consolidate m::membership() suite to header; minor cleanup. 2019-09-18 12:30:50 -07:00
Jason Volk
9a446d6c42 ircd:Ⓜ️:event: Faster bail on event_idx=0 to m::get(). 2019-09-18 10:27:00 -07:00
Jason Volk
41cfb47de4 ircd: Add strncpy++ tool. 2019-09-18 09:50:14 -07:00
Jason Volk
cdce334b80 modules/client/rooms/messages: Hoist prefetching into branch; disable here for now. 2019-09-17 23:17:51 -07:00
Jason Volk
404da37cc4 modules/client/rooms/messages: Cleanup loop; improve prefetch; reduce density of branches. 2019-09-17 22:38:38 -07:00
Jason Volk
be2ae27af6 modules/client/sync/rooms/timeline: Fix loop conditions. 2019-09-17 22:21:55 -07:00
Jason Volk
5bf60df98b ircd:Ⓜ️:event::apend: Skip the redacted query if event is room head. 2019-09-17 21:06:03 -07:00
Jason Volk
e94a21aa7d ircd:Ⓜ️:redacted: Add prefetch() to interface. 2019-09-17 21:06:03 -07:00
Jason Volk
26154de7c4 ircd:Ⓜ️:event::refs: Add prefetch() to interface. 2019-09-17 21:06:03 -07:00
Jason Volk
1cf54095b4 ircd:Ⓜ️:event::refs: Minor cleanup; formatting; use static_assert. 2019-09-17 21:06:03 -07:00
Jason Volk
a3163a5ae7 ircd:Ⓜ️ Use util::boolean for m::redacted. 2019-09-17 21:06:03 -07:00
Jason Volk
fe8f9ee611 modules/client/sync/rooms/timeline: Conditional prev_batch; minor cleanup. 2019-09-17 20:19:27 -07:00
Jason Volk
c77353fd9c modules/client/sync/rooms/timeline: Add conditional prefetch on down iteration. 2019-09-17 20:19:27 -07:00
Jason Volk
a5a0adb2c5 ircd:Ⓜ️:event::refs: Fix use of tls buffer in this context. 2019-09-17 20:19:27 -07:00