We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2869a05 commit 181d902Copy full SHA for 181d902
internal/shardchain/dbfactory.go
@@ -24,7 +24,7 @@ type LDBFactory struct {
24
// NewChainDB returns a new LDB for the blockchain for given shard.
25
func (f *LDBFactory) NewChainDB(shardID uint32) (ethdb.Database, error) {
26
dir := path.Join(f.RootDir, fmt.Sprintf("harmony_db_%d", shardID))
27
- return rawdb.NewLevelDBDatabase(dir, 128, 64, "")
+ return rawdb.NewLevelDBDatabase(dir, 256, 1024, "")
28
}
29
30
// MemDBFactory is a memory-backed blockchain database factory.
0 commit comments