From 4e4d5aa742e1161288fda263297281fcce5010c1 Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Thu, 9 Jan 2020 09:55:39 +0100 Subject: [PATCH] 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. --- plugin/plugins/badgerds/badgerds.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/plugins/badgerds/badgerds.go b/plugin/plugins/badgerds/badgerds.go index a9d06f491ef..b998e787766 100644 --- a/plugin/plugins/badgerds/badgerds.go +++ b/plugin/plugins/badgerds/badgerds.go @@ -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