lemmy/src
phiresky 375d9a2a3c
Persistent, performant, reliable federation queue (#3605)
* persistent activity queue

* fixes

* fixes

* make federation workers function callable from outside

* log federation instances

* dead instance detection not needed here

* taplo fmt

* split federate bin/lib

* minor fix

* better logging

* log

* create struct to hold cancellable task for readability

* use boxfuture for readability

* reset submodule

* fix

* fix lint

* swap

* remove json column, use separate array columns instead

* some review comments

* make worker a struct for readability

* minor readability

* add local filter to community follower view

* remove separate lemmy_federate entry point

* fix remaining duration

* address review comments mostly

* fix lint

* upgrade actitypub-fed to simpler interface

* fix sql format

* increase delays a bit

* fixes after merge

* remove selectable

* fix instance selectable

* add comment

* start federation based on latest id at the time

* rename federate process args

* dead instances in one query

* filter follow+report activities by local

* remove synchronous federation

remove activity sender queue

* lint

* fix federation tests by waiting for results to change

* fix fed test

* fix comment report

* wait some more

* Apply suggestions from code review

Co-authored-by: SorteKanin <sortekanin@gmail.com>

* fix most remaining tests

* wait until private messages

* fix community tests

* fix community tests

* move arg parse

* use instance_id instead of domain in federation_queue_state table

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: SorteKanin <sortekanin@gmail.com>
2023-09-09 12:25:03 -04:00
..
api_routes_http.rs Get rid of remaining Perform/SendActivity traits (fixes #3670) (#3926) 2023-09-05 05:33:46 -04:00
code_migrations.rs Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
lib.rs Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00
main.rs Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00
prometheus_metrics.rs Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
root_span_builder.rs Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00
scheduled_tasks.rs Adding a scaled sort, to boost smaller communities. (#3907) 2023-09-06 13:43:27 -04:00
session_middleware.rs Allow passing auth via header or cookie (#3725) 2023-08-29 10:47:57 -04:00
telemetry.rs Extract Activitypub logic into separate library (#2288) 2022-06-02 16:33:41 +02:00