Do not sync
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
parent
53ab17cf50
commit
1f4d1dcc58
@ -101,6 +101,8 @@ var importBenchCmd = &cli.Command{
|
||||
|
||||
bdgOpt := badger.DefaultOptions
|
||||
bdgOpt.GcInterval = 0
|
||||
bdgOpt.Options.SyncWrites = false
|
||||
bdgOpt.Options.Truncate = true
|
||||
|
||||
bds, err := badger.NewDatastore(tdir, &bdgOpt)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user