Skip to content

Commit

Permalink
core:
Browse files Browse the repository at this point in the history
core: fix freezerRecheckInterval to 15s
  • Loading branch information
jingjunLi committed Jan 31, 2024
1 parent a3ee014 commit 0fde562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/rawdb/chain_freezer.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ const (
// freezerRecheckInterval is the frequency to check the key-value database for
// chain progression that might permit new blocks to be frozen into immutable
// storage.
freezerRecheckInterval = time.Minute
freezerRecheckInterval = 15 * time.Second

// freezerBatchLimit is the maximum number of blocks to freeze in one batch
// before doing an fsync and deleting it from the key-value store.
Expand Down

0 comments on commit 0fde562

Please sign in to comment.