mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-28 18:22:24 -05:00
[feature] Add db-postgres-connection-string option (#3178)
* handle db-url * lint and add doc * add more doc * fix config test * return error * change name from db-url to db-postgres-connection-string
This commit is contained in:
parent
b19cfee7ae
commit
94c615d417
6 changed files with 70 additions and 13 deletions
|
|
@ -248,6 +248,14 @@ db-sqlite-cache-size: "8MiB"
|
|||
# Default: "30m"
|
||||
db-sqlite-busy-timeout: "30m"
|
||||
|
||||
# String. Full Database connection string
|
||||
#
|
||||
# This connection string is only applicable for Postgres. When this field is defined, all other database related configuration field will be ignored. This field allow you to fine tune connection with Postgres
|
||||
#
|
||||
# Examples: ["postgres://user:pass@localhost/db?search_path=gotosocial", "postgres://user:pass@localhost:9999/db"]
|
||||
# Default: ""
|
||||
db-postgres-connection-string: ""
|
||||
|
||||
cache:
|
||||
# cache.memory-target sets a target limit that
|
||||
# the application will try to keep it's caches
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue