mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 18:32:23 +00:00
swarm/storage: reduce open file limit for LevelDB
This commit is contained in:
parent
3d997b6dec
commit
3bcc073d5e
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ import (
|
|||
"github.com/syndtr/goleveldb/leveldb/opt"
|
||||
)
|
||||
|
||||
const openFileLimit = 128
|
||||
const openFileLimit = 32
|
||||
|
||||
type LDBDatabase struct {
|
||||
db *leveldb.DB
|
||||
|
|
|
|||
Loading…
Reference in a new issue