Jason Volk
|
32cd77d9a3
|
split sending/send base functions
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-24 00:02:08 -04:00 |
|
Jason Volk
|
3ac9c5accd
|
abbrev destination in sender
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-24 00:01:54 -04:00 |
|
strawberry
|
a205a144ff
|
remove some various unused functions and mark some possibly important ones *for now*
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-22 23:54:56 -04:00 |
|
strawberry
|
9dd9aeea97
|
make everything pub(crate) instead of pub
conduwuit is not a library
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-22 23:48:57 -04:00 |
|
strawberry
|
52b9a837b6
|
conduit "library" delete, resolve some warnings from that
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-22 22:36:11 -04:00 |
|
strawberry
|
d08b377c6c
|
flip min_duration and max_duration
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-22 20:24:29 -04:00 |
|
Jason Volk
|
81a4283f19
|
cleanup scoped types; improve error logging
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-22 20:16:30 -04:00 |
|
Jason Volk
|
51a3b13fd2
|
add conf item for sender retry backoff limit
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-22 20:16:27 -04:00 |
|
Jason Volk
|
93b894a72c
|
resolver defaults to error for everything except NoRecordsFound.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-22 20:16:09 -04:00 |
|
strawberry
|
601b5d7adf
|
remove mentions of "outgoing_kind" everywhere else too
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-22 18:41:01 -04:00 |
|
strawberry
|
22874c0fc5
|
rename OutgoingKind to Destination, add QueuedRequests and ActiveRequestsFor admin query commands
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-22 17:28:15 -04:00 |
|
Jason Volk
|
12dc99d283
|
various logging improvements.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-22 01:48:11 -04:00 |
|
Jason Volk
|
17f493ec4d
|
precompute cidr range denylist; move validator.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-22 01:48:07 -04:00 |
|
Jason Volk
|
08fe67337b
|
refactor sending send/resolver/well-known error propagation
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-21 19:59:01 -04:00 |
|
Jason Volk
|
7efd1c6ba6
|
cleanup/split/dedup sending/send callstack
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-21 19:58:58 -04:00 |
|
strawberry
|
53e7df820c
|
add sending.rs to admin db query command
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-21 15:00:54 -04:00 |
|
strawberry
|
7ecc570bb8
|
Revert "dont use loole for sending channel code"
This reverts commit d0a9666a29 .
|
2024-04-17 15:16:01 -04:00 |
|
strawberry
|
d0a9666a29
|
dont use loole for sending channel code
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-17 14:51:08 -04:00 |
|
strawberry
|
bb43351658
|
Revert "prevent empty transactions from going out"
This reverts commit cc7cd51e9c .
|
2024-04-17 14:51:08 -04:00 |
|
Jason Volk
|
541fa2d2f7
|
tweak various log levels and messages
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-17 14:51:08 -04:00 |
|
Jason Volk
|
33cc3d56c1
|
lazy-construct presence; avoids useless db queries in sender and syncer.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-17 14:51:08 -04:00 |
|
Jason Volk
|
cc7cd51e9c
|
prevent empty transactions from going out
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-15 07:30:39 -04:00 |
|
Jason Volk
|
97fc6c158f
|
add edu select limit and condition for presence.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-14 22:35:23 -04:00 |
|
Jason Volk
|
6c9e95f7c9
|
add config option for allow_outgoing_read_receipts
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-14 22:35:23 -04:00 |
|
strawberry
|
0d21d70d4a
|
remove two unnecessary matches
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-14 22:35:23 -04:00 |
|
strawberry
|
3438b340a9
|
remove comments, log channel errors
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-09 15:26:45 -04:00 |
|
raizo
|
579d3ce865
|
replace tokio channels with loole (#256)
* rewrite admin handler to use loole channels
* apply correct formatting
* move all other services to loole channels
* fix ci
|
2024-04-09 15:26:45 -04:00 |
|
Jason Volk
|
7f6c19f066
|
fix using same federation reqwest pool after sender deduplication.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-05 22:15:16 -04:00 |
|
Jason Volk
|
ca1c77d76b
|
refactor presence to not involve rooms.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-05 22:15:16 -04:00 |
|
strawberry
|
bd69d9b565
|
move invalid 200 response log to info
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-03 12:52:46 -04:00 |
|
strawberry
|
a20b071a8a
|
add manual_let_else lint
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-02 00:32:41 -04:00 |
|
Matthias Ahouansou
|
c31fb7134a
|
fix: do not expect that all http requests are valid reqwest requests
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-04-02 00:32:41 -04:00 |
|
Jason Volk
|
93a43a0eda
|
add conf item for exact amount of startup netburst.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-02 00:32:41 -04:00 |
|
Jason Volk
|
0ba8d1318d
|
move presence up two levels out of rooms.edus and rooms.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-02 00:32:41 -04:00 |
|
Jason Volk
|
89a919ce75
|
move read_receipt feature up one level out of rooms.edus.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-02 00:32:41 -04:00 |
|
Jason Volk
|
22b123de7b
|
improve tracing attributes in sending stack.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-02 00:32:41 -04:00 |
|
Jason Volk
|
a87e7d8e17
|
split out, dedup, cleanup sending service methods
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-02 00:32:41 -04:00 |
|
Jason Volk
|
3c09313f79
|
move and reorganize sending codepaths; no functional changes
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-04-02 00:32:41 -04:00 |
|
Jason Volk
|
4becbed2a7
|
refactor sending interface stack
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-03-30 22:06:18 -04:00 |
|
Jason Volk
|
125ff21c88
|
add conf item to toggle startup netburst (for developers).
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-03-30 22:06:18 -04:00 |
|
strawberry
|
38c2e5567e
|
remove unwrap from admin room build_and_append_pdu
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-30 22:06:18 -04:00 |
|
strawberry
|
868976a149
|
use chain_width 60
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
f4146de17d
|
add feature for smElement client hacks
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
7bd56765ef
|
fix some more pedantic clippy lints
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-26 22:24:24 -04:00 |
|
strawberry
|
3bc2af7d26
|
resolve and add even more pedantic clippy lints
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
strawberry
|
9d0b647911
|
resolve couple pedantic clippy lints, remove unnecessary qualifications
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
Matthias Ahouansou
|
60f2471f59
|
refactor appservice type stuff
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-23 01:49:27 -04:00 |
|
Jason Volk
|
61b1d6d869
|
add corks to coalesce writes for several heavy calltrees.
Signed-off-by: Jason Volk <jason@zemos.net>
|
2024-03-23 01:49:27 -04:00 |
|
Jason Volk
|
abceae26de
|
add flush suite to sending service; trigger on read receipts.
Signed-off-by: Jason Volk <jason@zemos.net>
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-19 00:17:41 -04:00 |
|
strawberry
|
16572a868a
|
slight inclusive wording changes
Signed-off-by: strawberry <strawberry@puppygock.gay>
|
2024-03-19 00:17:41 -04:00 |
|