mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 00:02:25 -05:00
[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 <grufwub@gmail.com>
This commit is contained in:
parent
912a104aed
commit
815b5291e0
5 changed files with 127 additions and 109 deletions
|
|
@ -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 #####
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue