Skip to content

Commit d150b0a

Browse files
authored
docs: remove obsolete max_changesets documentation (paradigmxyz#19731)
1 parent 63409fe commit d150b0a

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

crates/stages/types/src/execution.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@ use core::time::Duration;
22

33
/// The thresholds at which the execution stage writes state changes to the database.
44
///
5-
/// If either of the thresholds (`max_blocks` and `max_changes`) are hit, then the execution stage
6-
/// commits all pending changes to the database.
7-
///
8-
/// A third threshold, `max_changesets`, can be set to periodically write changesets to the
9-
/// current database transaction, which frees up memory.
5+
/// If any of the thresholds (`max_blocks`, `max_changes`, `max_cumulative_gas`, or `max_duration`)
6+
/// are hit, then the execution stage commits all pending changes to the database.
107
#[derive(Debug, Clone)]
118
pub struct ExecutionStageThresholds {
129
/// The maximum number of blocks to execute before the execution stage commits.

0 commit comments

Comments
 (0)