swarm/storage: reduce open file limit for LevelDB

This commit is contained in:
Anton Evangelatov 2018-11-20 12:40:35 +01:00
parent 3d997b6dec
commit 3bcc073d5e

View file

@ -26,7 +26,7 @@ import (
"github.com/syndtr/goleveldb/leveldb/opt"
)
const openFileLimit = 128
const openFileLimit = 32
type LDBDatabase struct {
db *leveldb.DB