mirror of
https://github.com/ipfs/kubo.git
synced 2026-02-24 11:57:44 +08:00
fix(badgerds): turn off sync writes by default
We already do this in the datastore _profile_, but we should do this in the plugin as well. I'm pretty sure this makes absolutely no difference.
This commit is contained in:
parent
7d2f39b33b
commit
4e4d5aa742
@ -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