Skip to content

Commit

Permalink
Revert "Ignore Syncing Freelist For Validator DB" (#8629)
Browse files Browse the repository at this point in the history
This reverts commit 3b6b3f6.

Co-authored-by: Nishant Das <nishdas93@gmail.com>
  • Loading branch information
prestonvanloon and nisdas authored Mar 19, 2021
1 parent 799a4d8 commit 9282a73
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion validator/db/kv/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@ 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) {
Expand Down

0 comments on commit 9282a73

Please sign in to comment.