diff options
author | 2023-08-14 17:08:19 +0100 | |
---|---|---|
committer | 2023-08-14 17:08:19 +0100 | |
commit | 815b5291e034864052771cd3561fea479027e00f (patch) | |
tree | 18e3d49c441fb15e1f05ea2611e9c5c96b0be86f /example | |
parent | [fix] Update CSP header for blob images (upload preview) and dev livereload (... (diff) | |
download | gotosocial-815b5291e034864052771cd3561fea479027e00f.tar.xz |
[bugfix] fix inconsistent calculated cache sizes (#2115)v0.11.0
* 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 <grufwub@gmail.com>
Diffstat (limited to 'example')
-rw-r--r-- | example/config.yaml | 4 |
1 files changed, 2 insertions, 2 deletions
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 ##### |