From 1c23cf3a9311f8889491a865ad14d192a584006e Mon Sep 17 00:00:00 2001 From: renegadespork Date: Wed, 5 Aug 2026 21:15:18 -0700 Subject: [PATCH] docs: Fix servernameevent_data_cache_capacity default description. --- conduwuit-example.toml | 2 +- src/core/config/mod.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conduwuit-example.toml b/conduwuit-example.toml index 5303d0517..1f319b9d6 100644 --- a/conduwuit-example.toml +++ b/conduwuit-example.toml @@ -276,7 +276,7 @@ # This caps the capacity of cached event_data referenced # by server_name. # -# This defaults to 500,000 + (10,000 * CPU core count) +# This defaults to 500,000 + (100,000 * CPU core count) # #servernameevent_data_cache_capacity = varies by system diff --git a/src/core/config/mod.rs b/src/core/config/mod.rs index 7b07760a2..9bce1aa4f 100644 --- a/src/core/config/mod.rs +++ b/src/core/config/mod.rs @@ -358,7 +358,7 @@ pub struct Config { /// This caps the capacity of cached event_data referenced /// by server_name. /// - /// This defaults to 500,000 + (10,000 * CPU core count) + /// This defaults to 500,000 + (100,000 * CPU core count) /// /// default: varies by system #[serde(default = "default_servernameevent_data_cache_capacity")]