Skip to content

Commit

Permalink
fix(badgerds): turn off sync writes by default
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Stebalien committed Jan 9, 2020
1 parent 7d2f39b commit 4e4d5aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/plugins/badgerds/badgerds.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4e4d5aa

Please sign in to comment.