[chore] Change default sqlite busy timeout to 5m (#1352)

This commit is contained in:
tobi 2023-01-18 14:37:52 +01:00 committed by GitHub
parent acc333c40b
commit 974ec80a20
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -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"
```

View File

@ -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:

View File

@ -51,7 +51,7 @@
DbSqliteJournalMode: "WAL",
DbSqliteSynchronous: "NORMAL",
DbSqliteCacheSize: 64 * bytesize.MiB,
DbSqliteBusyTimeout: time.Second * 30,
DbSqliteBusyTimeout: time.Minute * 5,
WebTemplateBaseDir: "./web/template/",
WebAssetBaseDir: "./web/assets/",

View File

@ -55,7 +55,7 @@ func InitTestConfig() {
DbSqliteJournalMode: "WAL",
DbSqliteSynchronous: "NORMAL",
DbSqliteCacheSize: 64 * bytesize.MiB,
DbSqliteBusyTimeout: time.Second * 30,
DbSqliteBusyTimeout: time.Minute * 5,
WebTemplateBaseDir: "./web/template/",
WebAssetBaseDir: "./web/assets/",