DEFAULT_WAL_BLOCKS_WARNING

Constant DEFAULT_WAL_BLOCKS_WARNING 

Source
pub const DEFAULT_WAL_BLOCKS_WARNING: usize = 128;
Expand description

Default maximum number of blocks allowed in the WAL before emitting a warning.

This constant defines the default threshold for the Write-Ahead Log (WAL) size. If the number of blocks in the WAL exceeds this limit, a warning is logged to indicate potential issues.

This value is appropriate for Ethereum mainnet with ~12 second block times. For L2 chains with faster block times, this value should be increased proportionally to avoid excessive warnings.