lemmy/crates/utils/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
..
rate_limit Cache & Optimize Woodpecker CI (#3450) 2023-07-17 11:04:14 -04:00
settings Adding a new config flag to disable pictrs caching for thumbnails (#3897) 2023-08-31 10:36:39 -04:00
utils Adding a post_view mode. Fixes #3730 (#3731) 2023-08-31 09:01:08 -04:00
apub.rs Fixing .drone.yml (#2677) 2023-01-30 14:17:24 -05:00
cache_header.rs Add http cache for webfingers (#3317) 2023-07-19 06:09:04 -04:00
claims.rs Fix time zone handling (#3496) 2023-08-24 11:27:00 -04:00
email.rs Fix wrong SMTP port when TLS is being used (fixes #3574) (#3607) 2023-07-13 13:10:14 +02:00
error.rs Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00
lib.rs Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00
main.rs Adjust the config check to be a separate faster to compile binary (#3313) 2023-06-26 06:23:21 -04:00
request.rs Add cargo feature for building lemmy_api_common with mininum deps (#2243) 2022-05-03 17:44:13 +00:00
response.rs Fix #3366: Wrap plain-text error responses from the API in JSON (#3559) 2023-07-10 22:44:14 +02:00
version.rs For untagged commits, include hash in version name (fixes #1563) 2021-04-12 13:47:58 +02:00