cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
This commit is contained in:
@ -153,7 +153,7 @@ func benchInsertChain(b *testing.B, disk bool, gen func(int, *BlockGen)) {
|
||||
b.Fatalf("cannot create temporary directory: %v", err)
|
||||
}
|
||||
defer os.RemoveAll(dir)
|
||||
db, err = ethdb.NewLDBDatabase(dir, 0)
|
||||
db, err = ethdb.NewLDBDatabase(dir, 128, 128)
|
||||
if err != nil {
|
||||
b.Fatalf("cannot create temporary database: %v", err)
|
||||
}
|
||||
|
Reference in New Issue
Block a user