set lmdb max readers retry delay to 1ms

This commit is contained in:
vyzo 2021-02-11 19:35:07 +02:00
parent 723e48b399
commit 95befa1e41

View File

@ -65,6 +65,7 @@ func NewSplitStore(path string, ds dstore.Datastore, cold bstore.Blockstore) (*S
InitialMmapSize: 4 << 30, // 4GiB.
MmapGrowthStepFactor: 1.25, // scale slower than the default of 1.5
MmapGrowthStepMax: 4 << 30, // 4GiB
RetryDelay: time.Millisecond,
})
if err != nil {
return nil, err