diff options
author | 2024-04-10 12:03:43 +0200 | |
---|---|---|
committer | 2024-04-10 12:03:43 +0200 | |
commit | e20c7c21e110cfcf7510775a26cc3a50ea997541 (patch) | |
tree | 2bbe804689688bf338db4cbb6122f41ba5bdcf2c /docs/configuration/database.md | |
parent | [bugfix] Ensure side effects for local -> local follows get processed (#2820) (diff) | |
download | gotosocial-e20c7c21e110cfcf7510775a26cc3a50ea997541.tar.xz |
[docs] update deployment considerations docs with latest findings (#2821)
* [docs] update deployment considerations docs with latest findings
* simplify single-board computer section
Diffstat (limited to 'docs/configuration/database.md')
-rw-r--r-- | docs/configuration/database.md | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/configuration/database.md b/docs/configuration/database.md index cb9c90759..a1ab9c293 100644 --- a/docs/configuration/database.md +++ b/docs/configuration/database.md @@ -176,4 +176,13 @@ db-sqlite-cache-size: "8MiB" # Examples: ["0s", "1s", "30s", "1m", "5m"] # Default: "30m" db-sqlite-busy-timeout: "30m" + +cache: + # cache.memory-target sets a target limit that + # the application will try to keep it's caches + # within. This is based on estimated sizes of + # in-memory objects, and so NOT AT ALL EXACT. + # Examples: ["100MiB", "200MiB", "500MiB", "1GiB"] + # Default: "100MiB" + memory-target: "100MiB" ``` |