cmd, eth, ethdb, node: prioritise chaindata for resources, bump cache
This commit is contained in:
@ -461,7 +461,7 @@ func tempDB() (string, Database) {
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("can't create temporary directory: %v", err))
|
||||
}
|
||||
db, err := ethdb.NewLDBDatabase(dir, 300*1024)
|
||||
db, err := ethdb.NewLDBDatabase(dir, 256, 0)
|
||||
if err != nil {
|
||||
panic(fmt.Sprintf("can't create temporary database: %v", err))
|
||||
}
|
||||
|
Reference in New Issue
Block a user