set lmdb max readers retry delay to 1ms
This commit is contained in:
parent
723e48b399
commit
95befa1e41
@ -65,6 +65,7 @@ func NewSplitStore(path string, ds dstore.Datastore, cold bstore.Blockstore) (*S
|
|||||||
InitialMmapSize: 4 << 30, // 4GiB.
|
InitialMmapSize: 4 << 30, // 4GiB.
|
||||||
MmapGrowthStepFactor: 1.25, // scale slower than the default of 1.5
|
MmapGrowthStepFactor: 1.25, // scale slower than the default of 1.5
|
||||||
MmapGrowthStepMax: 4 << 30, // 4GiB
|
MmapGrowthStepMax: 4 << 30, // 4GiB
|
||||||
|
RetryDelay: time.Millisecond,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user