Skip to content

Commit 7c2eb96

Browse files
committed
Set epochs per migration to 1
Workaround for sigp#4236
1 parent 88e30b6 commit 7c2eb96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beacon_node/beacon_chain/src/migrate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const COMPACTION_FINALITY_DISTANCE: u64 = 1024;
2828
const BLOCKS_PER_RECONSTRUCTION: usize = 8192 * 4;
2929

3030
/// Default number of epochs to wait between finalization migrations.
31-
pub const DEFAULT_EPOCHS_PER_RUN: u64 = 4;
31+
pub const DEFAULT_EPOCHS_PER_RUN: u64 = 1;
3232

3333
/// The background migrator runs a thread to perform pruning and migrate state from the hot
3434
/// to the cold database.

0 commit comments

Comments
 (0)