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.
Steven Allen committed
Jan 9, 2020 at 09:55 UTC
4e4d5aa742e1161288fda263297281fcce5010c1
1 file changed
+1
-1
plugin/plugins/badgerds/badgerds.go
+1
-1
@@ -60,7 +60,7 @@ func (*badgerdsPlugin) DatastoreConfigParser() fsrepo.ConfigFromMap {
60
61
sw, ok := params["syncWrites"]
62
if !ok {
63
- c.syncWrites = true
63
+ c.syncWrites = false
64
} else {
65
if swb, ok := sw.(bool); ok {
66
c.syncWrites = swb