mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
ignore syncing freelist for validator db (#8601)
This commit is contained in:
parent
eb694ab5d5
commit
3b6b3f6ef6
@ -118,6 +118,7 @@ func NewKVStore(ctx context.Context, dirPath string, config *Config) (*Store, er
|
||||
boltDB, err := bolt.Open(datafile, params.BeaconIoConfig().ReadWritePermissions, &bolt.Options{
|
||||
Timeout: params.BeaconIoConfig().BoltTimeout,
|
||||
InitialMmapSize: config.InitialMMapSize,
|
||||
NoFreelistSync: true,
|
||||
})
|
||||
if err != nil {
|
||||
if errors.Is(err, bolt.ErrTimeout) {
|
||||
|
Loading…
Reference in New Issue
Block a user