summaryrefslogtreecommitdiff
path: root/internal/config/defaults.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-01-18 14:37:52 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-18 14:37:52 +0100
commit974ec80a206f4e797e88dbb3a429b53667e327c5 (patch)
tree882eca713a79f065d39e539d60fba751756451e2 /internal/config/defaults.go
parent[feature] Inherit resource limits from cgroups (#1336) (diff)
downloadgotosocial-974ec80a206f4e797e88dbb3a429b53667e327c5.tar.xz
[chore] Change default sqlite busy timeout to 5m (#1352)
Diffstat (limited to 'internal/config/defaults.go')
-rw-r--r--internal/config/defaults.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/config/defaults.go b/internal/config/defaults.go
index 31f282113..3cd1a3ed3 100644
--- a/internal/config/defaults.go
+++ b/internal/config/defaults.go
@@ -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/",