Skip to content

Commit

Permalink
Set epochs per migration to 1
Browse files Browse the repository at this point in the history
Workaround for sigp#4236
  • Loading branch information
michaelsproul committed Jun 27, 2023
1 parent 88e30b6 commit 7c2eb96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beacon_node/beacon_chain/src/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const COMPACTION_FINALITY_DISTANCE: u64 = 1024;
const BLOCKS_PER_RECONSTRUCTION: usize = 8192 * 4;

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

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

0 comments on commit 7c2eb96

Please sign in to comment.