lemmy/crates
phiresky a08642f813
federation: parallel sending per instance (#4623)
* federation: parallel sending

* federation: some comments

* lint and set force_write true when a request fails

* inbox_urls return vec

* split inbox functions into separate file

* cleanup

* extract sending task code to separate file

* move federation concurrent config to config file

* off by one issue

* improve msg

* fix both permanent stopping of federation queues and multiple creation of the same federation queues

* fix after merge

* lint fix

* Update crates/federate/src/send.rs

Co-authored-by: dullbananas <dull.bananas0@gmail.com>

* comment about reverse ordering

* remove crashable, comment

* comment

* move comment

* run federation tests twice

* fix test run

* prettier

* fix config default

* upgrade rust to 1.78 to fix diesel cli

* fix clippy

* delay

* add debug to make localhost urls not valid in ap crate, add some debug logs

* federation tests: ensure server stop after test and random activity id

* ci fix

* add test to federate 100 events

* fix send 100 test

* different data every time so activities are distinguishable

* allow out of order receives in test

* lint

* comment about https://github.com/LemmyNet/lemmy/pull/4623#discussion_r1565437391

* move sender for clarity, add comment

* move more things to members

* update test todo comment, use same env var as worker test but default to 1

* remove else below continue

* some more cleanup

* handle todo about smooth exit

* add federate inboxes collector tests

* lint

* actor max length

* don't reset fail count if activity skipped

* fix some comments

* reuse vars

* format

* Update .woodpecker.yml

* fix recheck time

* fix inboxes tests under fast mode

* format

* make i32 and ugly casts

* clippy

---------

Co-authored-by: dullbananas <dull.bananas0@gmail.com>
2024-07-21 11:50:50 -04:00
..
api Adding checks for higher admin and mod. (#4860) 2024-07-16 12:22:47 +02:00
api_common federation: parallel sending per instance (#4623) 2024-07-21 11:50:50 -04:00
api_crud Reverting webmention git dep to not break publish. (#4904) 2024-07-19 10:18:45 +02:00
apub Adding checks for higher admin and mod. (#4860) 2024-07-16 12:22:47 +02:00
db_perf Remove PersonInsertForm builder (#4779) 2024-06-06 08:29:18 -04:00
db_schema federation: parallel sending per instance (#4623) 2024-07-21 11:50:50 -04:00
db_views Adding checks for higher admin and mod. (#4860) 2024-07-16 12:22:47 +02:00
db_views_actor Adding checks for higher admin and mod. (#4860) 2024-07-16 12:22:47 +02:00
db_views_moderator Fixing extra modlog entries when post_id or comment_id is given. (#4664) 2024-04-25 10:26:17 +02:00
federate federation: parallel sending per instance (#4623) 2024-07-21 11:50:50 -04:00
routes Do pictrs transformations for proxied image urls. (#4895) 2024-07-11 17:31:31 +02:00
utils federation: parallel sending per instance (#4623) 2024-07-21 11:50:50 -04:00