Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions internal/config/generate/Config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,27 @@ description = """
Maximum wait time in seconds for the exponential backoff retry policy. The delay between retries for HTTP blockchain requests will never exceed this value, regardless of the backoff calculation."""
used-by = ["evmreader", "claimer", "node", "prt"]

[rollups.CARTESI_BLOCKCHAIN_WS_LIVENESS_TIMEOUT]
default = "120"
go-type = "Duration"
description = """
Maximum time in seconds to wait for a new block header on the WebSocket subscription before treating the connection as stalled and reconnecting. Handles silent connection drops where no error is delivered. The default (120s) is tuned for mainnet (~12s block time). Reduce for faster chains or devnets."""
used-by = ["evmreader", "node"]

[rollups.CARTESI_BLOCKCHAIN_WS_MAX_RETRIES]
default = "4"
go-type = "uint64"
description = """
Maximum number of consecutive WebSocket subscription failures before the service gives up and exits. A failure is counted only when a subscription attempt produces zero headers before disconnecting. Successful header processing resets the counter."""
used-by = ["evmreader", "node"]

[rollups.CARTESI_BLOCKCHAIN_WS_RECONNECT_INTERVAL]
default = "1"
go-type = "Duration"
description = """
Wait time in seconds between WebSocket subscription reconnection attempts after a connection failure."""
used-by = ["evmreader", "node"]

[rollups.CARTESI_BLOCKCHAIN_MAX_BLOCK_RANGE]
default = "0"
go-type = "uint64"
Expand Down
139 changes: 125 additions & 14 deletions internal/config/generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading