lmdb: increase number of max readers to 1000.
This commit is contained in:
@@ -48,7 +48,7 @@ func (b *LMDBBackend) Init() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
env.SetMaxDBs(10)
|
env.SetMaxDBs(10)
|
||||||
env.SetMaxReaders(500)
|
env.SetMaxReaders(1000)
|
||||||
env.SetMapSize(1 << 38) // ~273GB
|
env.SetMapSize(1 << 38) // ~273GB
|
||||||
|
|
||||||
// create directory if it doesn't exist and open it
|
// create directory if it doesn't exist and open it
|
||||||
|
|||||||
Reference in New Issue
Block a user