diff --git a/ethdb/database.go b/ethdb/database.go index 6c62d6a386..803f0b1dc3 100644 --- a/ethdb/database.go +++ b/ethdb/database.go @@ -78,6 +78,7 @@ func NewLDBDatabase(file string, cache int, handles int) (*LDBDatabase, error) { BlockCacheCapacity: cache / 2 * opt.MiB, WriteBuffer: cache / 4 * opt.MiB, // Two of these are used internally Filter: filter.NewBloomFilter(10), + CompactionTableSize: 128 * opt.MiB, }) if _, corrupted := err.(*errors.ErrCorrupted); corrupted { db, err = leveldb.RecoverFile(file, nil)