lemmy/api_tests
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
..
src federation: parallel sending per instance (#4623) 2024-07-21 11:50:50 -04:00
.npmrc Add test to ensure reports are sent to user's home instance (ref #4701) (#4711) 2024-05-14 22:48:24 -04:00
.prettierrc.json Removing sniptt/monads for lemmy-js-client. (#2644) 2023-01-04 10:59:26 -05:00
eslint.config.mjs Adding an image_details table to store image dimensions. (#4704) 2024-06-20 12:44:06 +02:00
jest.config.js Prettier check (#2855) 2023-05-13 16:50:58 -04:00
package.json Adding an image_details table to store image dimensions. (#4704) 2024-06-20 12:44:06 +02:00
pnpm-lock.yaml Adding an image_details table to store image dimensions. (#4704) 2024-06-20 12:44:06 +02:00
prepare-drone-federation-test.sh Adding an image_details table to store image dimensions. (#4704) 2024-06-20 12:44:06 +02:00
run-federation-test.sh Moving from yarn to pnpm. (#4414) 2024-01-29 11:38:39 +01:00
tsconfig.json Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00