mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-27 19:01:01 +00:00
[chore] Change default sqlite busy timeout to 5m (#1352)
This commit is contained in:
parent
acc333c40b
commit
974ec80a20
4 changed files with 4 additions and 4 deletions
|
@ -138,5 +138,5 @@ db-sqlite-cache-size: "64MiB"
|
|||
# See: https://www.sqlite.org/pragma.html#pragma_busy_timeout
|
||||
# Examples: ["0s", "1s", "30s", "1m", "5m"]
|
||||
# Default: "5s"
|
||||
db-sqlite-busy-timeout: "30s"
|
||||
db-sqlite-busy-timeout: "5m"
|
||||
```
|
||||
|
|
|
@ -194,7 +194,7 @@ db-sqlite-cache-size: "64MiB"
|
|||
# See: https://www.sqlite.org/pragma.html#pragma_busy_timeout
|
||||
# Examples: ["0s", "1s", "30s", "1m", "5m"]
|
||||
# Default: "5s"
|
||||
db-sqlite-busy-timeout: "30s"
|
||||
db-sqlite-busy-timeout: "5m"
|
||||
|
||||
cache:
|
||||
gts:
|
||||
|
|
|
@ -51,7 +51,7 @@ var Defaults = Configuration{
|
|||
DbSqliteJournalMode: "WAL",
|
||||
DbSqliteSynchronous: "NORMAL",
|
||||
DbSqliteCacheSize: 64 * bytesize.MiB,
|
||||
DbSqliteBusyTimeout: time.Second * 30,
|
||||
DbSqliteBusyTimeout: time.Minute * 5,
|
||||
|
||||
WebTemplateBaseDir: "./web/template/",
|
||||
WebAssetBaseDir: "./web/assets/",
|
||||
|
|
|
@ -55,7 +55,7 @@ var testDefaults = config.Configuration{
|
|||
DbSqliteJournalMode: "WAL",
|
||||
DbSqliteSynchronous: "NORMAL",
|
||||
DbSqliteCacheSize: 64 * bytesize.MiB,
|
||||
DbSqliteBusyTimeout: time.Second * 30,
|
||||
DbSqliteBusyTimeout: time.Minute * 5,
|
||||
|
||||
WebTemplateBaseDir: "./web/template/",
|
||||
WebAssetBaseDir: "./web/assets/",
|
||||
|
|
Loading…
Reference in a new issue