summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLibravatar Daenney <daenney@users.noreply.github.com>2023-11-22 19:06:30 +0100
committerLibravatar GitHub <noreply@github.com>2023-11-22 18:06:30 +0000
commite9f636ea59ed12866168d0e6984348dc9b47e79d (patch)
treee10a665074c251ac2fae7b00171d7c3c20f453d3 /example
parent[bugfix/chore] id poll options properly (#2379) (diff)
downloadgotosocial-e9f636ea59ed12866168d0e6984348dc9b47e79d.tar.xz
[docs] Add a warning about SQLite cache sizes (#2378)
* [docs] Add a warning about SQLite cache sizes * [docs] Fix admonition text * [docs] Lorde the indenting * [docs] Rework the text a bit
Diffstat (limited to 'example')
-rw-r--r--example/config.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/example/config.yaml b/example/config.yaml
index a62d5940e..e7364eb93 100644
--- a/example/config.yaml
+++ b/example/config.yaml
@@ -229,6 +229,12 @@ db-sqlite-synchronous: "NORMAL"
# SQLite only -- unused otherwise.
# If set to empty string or zero, the sqlite default (2MiB) will be used.
# See: https://www.sqlite.org/pragma.html#pragma_cache_size
+#
+# More is not necessarily better for caches. They need to be tuned to the
+# workload. The defaults should be plenty for most instances and you shouldn't
+# change it. If you do change it, ensure you mention this when requesting help
+# in the GoToSocial Help channel.
+#
# Examples: ["0", "2MiB", "8MiB", "64MiB"]
# Default: "8MiB"
db-sqlite-cache-size: "8MiB"