From 992ff352b7765150dcc15bdaef56c942d1b9c701 Mon Sep 17 00:00:00 2001 From: Felix Ableitner Date: Wed, 8 May 2024 12:41:28 +0200 Subject: [PATCH] add comment --- crates/apub/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/crates/apub/src/lib.rs b/crates/apub/src/lib.rs index 5f3603bb3..c8960b008 100644 --- a/crates/apub/src/lib.rs +++ b/crates/apub/src/lib.rs @@ -29,6 +29,8 @@ pub(crate) mod mentions; pub mod objects; pub mod protocol; +/// Maximum number of outgoing HTTP requests to fetch a single object. Needs to be high enough +/// to fetch a new community with posts, moderators and featured posts. pub const FEDERATION_HTTP_FETCH_LIMIT: u32 = 100; /// Only include a basic context to save space and bandwidth. The main context is hosted statically