From 815b5291e034864052771cd3561fea479027e00f Mon Sep 17 00:00:00 2001 From: kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com> Date: Mon, 14 Aug 2023 17:08:19 +0100 Subject: [bugfix] fix inconsistent calculated cache sizes (#2115) * use calculated exampleTime instead of `time.Now()` to ensure no locale data, retweak cache ratios * update envparsing test * update default cache memory to 100MiB * fix envparsing with latest cache target default --------- Signed-off-by: kim --- example/config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'example') diff --git a/example/config.yaml b/example/config.yaml index ddcea38d4..0ab2b1a3b 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -236,8 +236,8 @@ cache: # within. This is based on estimated sizes of # in-memory objects, and so NOT AT ALL EXACT. # Examples: ["100MiB", "200MiB", "500MiB", "1GiB"] - # Default: "200MiB" - memory-target: "200MiB" + # Default: "100MiB" + memory-target: "100MiB" ###################### ##### WEB CONFIG ##### -- cgit v1.2.3