mirror of
https://github.com/ipfs/kubo.git
synced 2026-03-10 10:47:51 +08:00
Merge pull request #6819 from ipfs/chore/badger-no-sync
fix(badgerds): turn off sync writes by default
This commit is contained in:
commit
f804bb67aa
@ -60,7 +60,7 @@ func (*badgerdsPlugin) DatastoreConfigParser() fsrepo.ConfigFromMap {
|
||||
|
||||
sw, ok := params["syncWrites"]
|
||||
if !ok {
|
||||
c.syncWrites = true
|
||||
c.syncWrites = false
|
||||
} else {
|
||||
if swb, ok := sw.(bool); ok {
|
||||
c.syncWrites = swb
|
||||
|
||||
Loading…
Reference in New Issue
Block a user