lemmy/scripts
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
..
query_testing Adding hot_rank columns in place of function sorting. (#2952) 2023-06-08 16:15:15 -04:00
clear_db.sh make shebangs posix compliant (#2974) 2023-06-08 15:38:26 -04:00
compilation_benchmark.sh make shebangs posix compliant (#2974) 2023-06-08 15:38:26 -04:00
db-init.sh Align default DB password with documentation (#3068) 2023-06-13 22:23:07 +02:00
db_perf.sh Better query plan viewing experience (#4285) 2024-01-24 10:22:33 -05:00
dump_schema.sh Move SQL triggers from migrations into reusable sql file (#4333) 2024-04-17 20:58:44 -04:00
install.sh Moving from yarn to pnpm. (#4414) 2024-01-29 11:38:39 +01:00
lint.sh Format replaceable_schema files in lint.sh (#4868) 2024-06-26 10:47:09 +02:00
postgres_12_to_15_upgrade.sh Switch PostgreSQL container to use pgautoupgrade (#4892) 2024-07-17 09:59:21 +02:00
postgres_15_to_16_upgrade.sh Switch PostgreSQL container to use pgautoupgrade (#4892) 2024-07-17 09:59:21 +02:00
release.sh Remove ansible tagging lines. (#4790) 2024-06-07 11:26:43 -04:00
restore_db.sh make shebangs posix compliant (#2974) 2023-06-08 15:38:26 -04:00
sql_format_check.sh Move SQL triggers from migrations into reusable sql file (#4333) 2024-04-17 20:58:44 -04:00
start_dev_db.sh Move SQL triggers from migrations into reusable sql file (#4333) 2024-04-17 20:58:44 -04:00
test-with-coverage.sh Test coverage (#4596) 2024-04-11 10:32:07 +02:00
test.sh federation: parallel sending per instance (#4623) 2024-07-21 11:50:50 -04:00
update_config_defaults.sh Remove error-type feature from lemmy-utils (#4474) 2024-02-27 11:13:52 -05:00
update_translations.sh make shebangs posix compliant (#2974) 2023-06-08 15:38:26 -04:00
upgrade_deps.sh Upgrading lemmy-js-client version to 0.19.4 (#4787) 2024-06-06 20:44:36 -04:00