dasha_uwu
b5890b9664
Services refactor
...
Replace structs of Dep<Service> with OnceServices, so each service has a Services reference
Remove service name => Service map
Flatten Services.rooms
Make reqwest Clients lazy initialized (client service)
2025-08-28 23:15:59 +05:00
Jason Volk
3430d4ac86
Improved solution to current_shortstatehash > next_batch. ( 59b62b1)
...
`current_shortstatehash` is now calculated from timeline which is already
upper-bound by the `next_batch` snapshot. Previously `current_shortstatehash`
was truly current and had to be disallowed from exceeding `next_batch` by
ignoring the room during sync until a future pass when these values finally
met that condition.
Signed-off-by: Jason Volk <jason@zemos.net >
2025-08-27 00:41:12 +00:00
Jason Volk
c8d35cca57
Refactor to async closures.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-07-24 04:07:27 +00:00
Jason Volk
6e6c84855c
Remove sync/v4 to reduce maintenance/refactor burden.
...
Thank you for serving us well 🫡
Signed-off-by: Jason Volk <jason@zemos.net >
2025-05-11 07:02:14 +00:00
Jason Volk
76509830e6
chain_width to 50
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-22 04:42:34 +00:00
Jason Volk
9b658d86b2
Rename crates.
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-22 04:37:49 +00:00
Jason Volk
e0508958b7
increase snake sync asynchronicity
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-13 05:12:52 +00:00
Jason Volk
532dfd004d
move core::pdu and core::state_res into core::matrix::
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-04-05 02:44:46 +00:00
June Clementine Strawberry
a1e1f40ded
run cargo fix for rust 2024 changes and rustfmt
...
Signed-off-by: June Clementine Strawberry <strawberry@puppygock.gay >
2025-02-23 01:17:45 -05:00
Jason Volk
01155fa649
fix unsafe precondition violation
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-02-22 16:44:39 -05:00
morguldir
6cb3275be0
Add initial MSC4186 (Simplified Sliding Sync) implementation
...
Signed-off-by: morguldir <morguldir@protonmail.com >
Signed-off-by: strawberry <strawberry@puppygock.gay >
2025-01-14 15:09:51 +01:00
Jason Volk
925061b92d
flatten timeline pdus iterations; increase concurrency
...
Signed-off-by: Jason Volk <jason@zemos.net >
2025-01-09 18:14:23 +00:00
strawberry
77e0b76408
apply new rustfmt.toml changes, fix some clippy lints
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-12-15 01:00:41 -05:00
strawberry
0317cc8cc5
rename conduit to conduwuit finally
...
Signed-off-by: strawberry <strawberry@puppygock.gay >
2024-12-14 22:24:45 -05:00
Jason Volk
1d02851028
implement several broadband loops
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-12-04 21:50:20 +00:00
Jason Volk
3968d03868
move and improve common-rooms related
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-22 09:38:34 +00:00
Jason Volk
bae0667066
limit sync response events to within the since/next_batch window
...
fixes #606
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-22 09:02:01 +00:00
Jason Volk
1f2e939fd5
optional arguments for timeline pdus iterations
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-08 08:22:54 +00:00
Jason Volk
e507c31306
make pdu batch tokens zeroith-indexed
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-08 06:06:18 +00:00
Jason Volk
9da523c004
refactor for stronger RawPduId type
...
implement standard traits for PduCount
enable serde for arrayvec
typedef various shortid's
pducount simplifications
split parts of pdu_metadata service to core/pdu and api/relations
remove some yields; improve var names/syntax
tweak types for limit timeline limit arguments
Signed-off-by: Jason Volk <jason@zemos.net >
2024-11-06 21:46:20 +00:00
Jason Volk
1fdcab0319
additional sync cleanup
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-10-26 18:50:29 -04:00
Jason Volk
828cb96ba9
split client/sync
...
Signed-off-by: Jason Volk <jason@zemos.net >
2024-10-26 18:50:29 -04:00