aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpg9182 <96569817+pg9182@users.noreply.github.com>2022-10-21 14:30:39 -0400
committerpg9182 <96569817+pg9182@users.noreply.github.com>2022-10-21 14:30:39 -0400
commit9154c4fc592164df65a0f9284df1e0b96d16382f (patch)
treec47cc85e2af38115c200917bd1b23c3a2617ee2e
parentfc2a65cbc38217c2bb007a515c6d1251c4a8568e (diff)
downloadAtlas-9154c4fc592164df65a0f9284df1e0b96d16382f.tar.gz
Atlas-9154c4fc592164df65a0f9284df1e0b96d16382f.zip
db/{atlasdb,pdatadb}: Increase busy timeout
-rw-r--r--db/atlasdb/db.go2
-rw-r--r--db/pdatadb/db.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/db/atlasdb/db.go b/db/atlasdb/db.go
index 0e47ac8..79eb3c0 100644
--- a/db/atlasdb/db.go
+++ b/db/atlasdb/db.go
@@ -26,7 +26,7 @@ func Open(name string) (*DB, error) {
RawQuery: (url.Values{
"_journal": {"WAL"},
"_cache_size": {"-32000"},
- "_busy_timeout": {"4000"},
+ "_busy_timeout": {"6000"},
}).Encode(),
}).String())
if err != nil {
diff --git a/db/pdatadb/db.go b/db/pdatadb/db.go
index c27b110..cf1ebcb 100644
--- a/db/pdatadb/db.go
+++ b/db/pdatadb/db.go
@@ -26,7 +26,7 @@ func Open(name string) (*DB, error) {
Path: name,
RawQuery: (url.Values{
"_journal": {"WAL"},
- "_busy_timeout": {"4000"},
+ "_busy_timeout": {"6000"},
}).Encode(),
}).String())
if err != nil {