lemmy/crates/api_common/src
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
..
build_response.rs Fixing not being able to create comments on local community posts. (#4854) 2024-07-07 12:28:42 -04:00
claims.rs Adding checks for higher admin and mod. (#4860) 2024-07-16 12:22:47 +02:00
comment.rs View report history for a post or comment. Fixes #4190 (#4492) 2024-03-05 11:31:40 +01:00
community.rs Make request models derive PartialEq, Eq, and Hash (#4443) 2024-02-11 00:32:14 -05:00
context.rs federation: parallel sending per instance (#4623) 2024-07-21 11:50:50 -04:00
custom_emoji.rs Make request models derive PartialEq, Eq, and Hash (#4443) 2024-02-11 00:32:14 -05:00
lib.rs Mark database fields as sensitive so they dont show up in logs (#4720) 2024-05-16 20:41:57 -04:00
person.rs Configure max comment width in clippy (#4738) 2024-05-23 08:46:26 -04:00
post.rs Add show_nsfw override filter to GetPosts. (#4889) 2024-07-09 13:44:23 -04:00
private_message.rs Make request models derive PartialEq, Eq, and Hash (#4443) 2024-02-11 00:32:14 -05:00
request.rs Adding an image_details table to store image dimensions. (#4704) 2024-06-20 12:44:06 +02:00
send_activity.rs Send purges to federated instances (fixes #4119) (#4398) 2024-01-25 09:24:09 -05:00
site.rs Configure max comment width in clippy (#4738) 2024-05-23 08:46:26 -04:00
utils.rs Adding an image_details table to store image dimensions. (#4704) 2024-06-20 12:44:06 +02:00