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:
Steven Allen 2020-01-09 09:55:39 +01:00
parent 7d2f39b33b
commit 4e4d5aa742

View File

@ -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