From 76d6edbb5247c5f8e5b42d8ed4ad6cb087f6ec4d Mon Sep 17 00:00:00 2001 From: vyzo Date: Tue, 1 Dec 2020 18:57:31 +0200 Subject: [PATCH] fix max readers for tracking store --- chain/store/splitstore/snoop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chain/store/splitstore/snoop.go b/chain/store/splitstore/snoop.go index e7dceaaef..286c43be2 100644 --- a/chain/store/splitstore/snoop.go +++ b/chain/store/splitstore/snoop.go @@ -39,7 +39,7 @@ func NewTrackingStore(path string) (TrackingStore, error) { if err = env.SetMaxDBs(1); err != nil { return nil, fmt.Errorf("failed to set LMDB max dbs: %w", err) } - if err = env.SetMaxReaders(1); err != nil { + if err = env.SetMaxReaders(2); err != nil { return nil, fmt.Errorf("failed to set LMDB max readers: %w", err) }