@cryptotaxi247 / kubo / commits / 9e4fa0d44

go-ipfs-config: add option to set syncWrites to badger

License: MIT Signed-off-by: Jeromy <jeromyj@gmail.com>

Jeromy committed Sep 5, 2017 at 22:46 UTC 9e4fa0d44a067cd8c65add26f6d986689e52821c
1 file changed +3 -2
config/profile.go
+3 -2
@@ -46,8 +46,9 @@ var ConfigProfiles = map[string]func(*Config) error{
46 "type": "measure",
47 "prefix": "badger.datastore",
48 "child": map[string]interface{}{
49 - "type": "badgerds",
50 - "path": "badgerds",
49 + "type": "badgerds",
50 + "path": "badgerds",
51 + "syncWrites": true,
52 },
53 }
54 return nil