]> Untitled Git - lemmy.git/commit
Improve api response times by doing send_activity asynchronously (#3493)
authorphiresky <phireskyde+git@gmail.com>
Mon, 10 Jul 2023 10:27:49 +0000 (12:27 +0200)
committerGitHub <noreply@github.com>
Mon, 10 Jul 2023 10:27:49 +0000 (12:27 +0200)
commitb35757b429e015fa5705ac07ea6993342f675761
tree8f47ffe6e86b63df03fd4ad4f5aae1cc886d2a9b
parent0c82f4e66065b5772fede010a879d327135dbb1e
Improve api response times by doing send_activity asynchronously (#3493)

* do send_activity after http response

* move to util function

* format

* fix prometheus

* make synchronous federation configurable

* cargo fmt

* empty

* empty

---------

Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
api_tests/run-federation-test.sh
crates/api/src/lib.rs
crates/api_common/src/custom_emoji.rs
crates/api_common/src/site.rs
crates/api_crud/src/lib.rs
crates/api_crud/src/post/create.rs
crates/apub/src/lib.rs
crates/utils/src/lib.rs
src/api_routes_http.rs
src/lib.rs
src/prometheus_metrics.rs