diff options
author | 2023-07-12 10:28:41 +0200 | |
---|---|---|
committer | 2023-07-12 10:28:41 +0200 | |
commit | 8d92b2479f810bc5d20245361fa59339763a1495 (patch) | |
tree | 05b95d76a0fb7cc683a2f8a81ea40fec8fb8873a /docs/configuration/database.md | |
parent | Bump semver from 6.3.0 to 6.3.1 in /web/source (#1981) (diff) | |
download | gotosocial-8d92b2479f810bc5d20245361fa59339763a1495.tar.xz |
[bugfix] Align default values in the configuration file with the code (#1971)
* Set default value of SMTPFrom to empty string
This parameter should contain proper e-mail address (to be provided by user during configuration).
* Update default values in example/config.yaml
Default values and related comments in example/config.yaml are aligned
with values defined in internal/config/defaults.go.
Small improvements to foramting of config.yaml file.
* Add default value for AdvancedThrottlingRetryAfter to internal/config/defaults.go
AdvancedThrottlingRetryAfter was introduced in 70739d3 (superseriousbusiness/gotosocial#1466).
* Update config.yaml snippets in documentation
Diffstat (limited to 'docs/configuration/database.md')
-rw-r--r-- | docs/configuration/database.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/configuration/database.md b/docs/configuration/database.md index 047b8c198..3e66b09fc 100644 --- a/docs/configuration/database.md +++ b/docs/configuration/database.md @@ -165,6 +165,6 @@ db-sqlite-cache-size: "8MiB" # If set to empty string or zero, the sqlite default will be used. # See: https://www.sqlite.org/pragma.html#pragma_busy_timeout # Examples: ["0s", "1s", "30s", "1m", "5m"] -# Default: "5s" -db-sqlite-busy-timeout: "5m" +# Default: "30m" +db-sqlite-busy-timeout: "30m" ``` |