From 97d37a9bb37b4f0320aa38fbe171486c6efdbb1f Mon Sep 17 00:00:00 2001 From: renegadespork Date: Wed, 5 Aug 2026 15:25:01 -0700 Subject: [PATCH] docs: Corrected description of auth chain logic. --- conduwuit-example.toml | 6 +++--- src/core/config/mod.rs | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/conduwuit-example.toml b/conduwuit-example.toml index 4ee4845fa..5303d0517 100644 --- a/conduwuit-example.toml +++ b/conduwuit-example.toml @@ -191,10 +191,10 @@ # Accepts any 32-bit integer. # # When determining is a user is authorized to send an event, -# the server will first check the auth chain cache. +# the server will first check the cache for an auth chain. # If the auth chain is not present in the cache, -# The server will reach out to the origin server for -# authorization. +# The server will read the auth chain from the database +# and add it to the cache. # # This defaults to 100,000 + (10,000 * CPU core count) # diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index b762c30cd..7b07760a2 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -261,10 +261,10 @@ pub struct Config { /// Accepts any 32-bit integer. /// /// When determining is a user is authorized to send an event, - /// the server will first check the auth chain cache. + /// the server will first check the cache for an auth chain. /// If the auth chain is not present in the cache, - /// The server will reach out to the origin server for - /// authorization. + /// The server will read the auth chain from the database + /// and add it to the cache. /// /// This defaults to 100,000 + (10,000 * CPU core count) ///