mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-23 00:33:50 +01:00
[chore] Change default sqlite busy timeout to 5m (#1352)
This commit is contained in:
parent
acc333c40b
commit
974ec80a20
@ -138,5 +138,5 @@ db-sqlite-cache-size: "64MiB"
|
|||||||
# See: https://www.sqlite.org/pragma.html#pragma_busy_timeout
|
# See: https://www.sqlite.org/pragma.html#pragma_busy_timeout
|
||||||
# Examples: ["0s", "1s", "30s", "1m", "5m"]
|
# Examples: ["0s", "1s", "30s", "1m", "5m"]
|
||||||
# Default: "5s"
|
# 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
|
# See: https://www.sqlite.org/pragma.html#pragma_busy_timeout
|
||||||
# Examples: ["0s", "1s", "30s", "1m", "5m"]
|
# Examples: ["0s", "1s", "30s", "1m", "5m"]
|
||||||
# Default: "5s"
|
# Default: "5s"
|
||||||
db-sqlite-busy-timeout: "30s"
|
db-sqlite-busy-timeout: "5m"
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
gts:
|
gts:
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
DbSqliteJournalMode: "WAL",
|
DbSqliteJournalMode: "WAL",
|
||||||
DbSqliteSynchronous: "NORMAL",
|
DbSqliteSynchronous: "NORMAL",
|
||||||
DbSqliteCacheSize: 64 * bytesize.MiB,
|
DbSqliteCacheSize: 64 * bytesize.MiB,
|
||||||
DbSqliteBusyTimeout: time.Second * 30,
|
DbSqliteBusyTimeout: time.Minute * 5,
|
||||||
|
|
||||||
WebTemplateBaseDir: "./web/template/",
|
WebTemplateBaseDir: "./web/template/",
|
||||||
WebAssetBaseDir: "./web/assets/",
|
WebAssetBaseDir: "./web/assets/",
|
||||||
|
@ -55,7 +55,7 @@ func InitTestConfig() {
|
|||||||
DbSqliteJournalMode: "WAL",
|
DbSqliteJournalMode: "WAL",
|
||||||
DbSqliteSynchronous: "NORMAL",
|
DbSqliteSynchronous: "NORMAL",
|
||||||
DbSqliteCacheSize: 64 * bytesize.MiB,
|
DbSqliteCacheSize: 64 * bytesize.MiB,
|
||||||
DbSqliteBusyTimeout: time.Second * 30,
|
DbSqliteBusyTimeout: time.Minute * 5,
|
||||||
|
|
||||||
WebTemplateBaseDir: "./web/template/",
|
WebTemplateBaseDir: "./web/template/",
|
||||||
WebAssetBaseDir: "./web/assets/",
|
WebAssetBaseDir: "./web/assets/",
|
||||||
|
Loading…
Reference in New Issue
Block a user