diff options
author | 2023-02-01 11:55:34 +0100 | |
---|---|---|
committer | 2023-02-01 11:55:34 +0100 | |
commit | 4ee4cd2da11bc0199ee99a40527e758d394dbc9c (patch) | |
tree | 2eafd22e03801c78590e59e6682ee833851c8037 /example | |
parent | [chore] Use 'immediate' lock for sqlite transactions (#1404) (diff) | |
download | gotosocial-4ee4cd2da11bc0199ee99a40527e758d394dbc9c.tar.xz |
[chore/performance] use only 1 sqlite db connection regardless of multiplier (#1408)
Diffstat (limited to 'example')
-rw-r--r-- | example/config.yaml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/example/config.yaml b/example/config.yaml index f7d7c7884..b411da4db 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -184,6 +184,10 @@ db-tls-ca-cert: "" # # If you set the multiplier to less than 1, only one open connection will be used regardless of cpu count. # +# PLEASE NOTE!!: This setting currently only applies for Postgres. SQLite will always use 1 connection regardless +# of what is set here. This behavior will change in future when we implement better SQLITE_BUSY handling. +# See https://github.com/superseriousbusiness/gotosocial/issues/1407 for more details. +# # Examples: [16, 8, 10, 2] # Default: 8 db-max-open-conns-multiplier: 8 |