Skip to content

Commit

Permalink
Merge pull request #6819 from ipfs/chore/badger-no-sync
Browse files Browse the repository at this point in the history
fix(badgerds): turn off sync writes by default
  • Loading branch information
Stebalien committed Jan 10, 2020
2 parents ff26934 + 4e4d5aa commit f804bb6
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 f804bb6

Please sign in to comment.