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