MCPcopy Create free account
hub / github.com/base/base / timeout

Method timeout

acceptance/src/config.rs:629–638  ·  view source on GitHub ↗

Returns the check timeout.

(&self)

Source from the content-addressed store, hash-verified

627
628 /// Returns the check timeout.
629 pub const fn timeout(&self) -> Duration {
630 match self {
631 Self::ChainId { timeout, .. }
632 | Self::HeadProgress { timeout, .. }
633 | Self::HeadsConverge { timeout, .. }
634 | Self::SafeHeadProgress { timeout, .. }
635 | Self::HeadFresh { timeout, .. }
636 | Self::HeadsHealthy { timeout, .. } => timeout.0,
637 }
638 }
639
640 /// Returns the optional start condition.
641 pub const fn start(&self) -> Option<&CheckStart> {

Callers 15

unwind_toMethod · 0.80
queryMethod · 0.80
newMethod · 0.80
metrics.rsFile · 0.80
spawn_forkMethod · 0.80
checkMethod · 0.80
fetch_l1_block_numberFunction · 0.80
connect_elFunction · 0.80
connect_l2_providerFunction · 0.80
newMethod · 0.80

Calls

no outgoing calls

Tested by 1

test_providerFunction · 0.64