Skip to main content

MAX_RETRIES

Constant MAX_RETRIES 

Source
pub const MAX_RETRIES: u32 = 100;
Expand description

Hard upper bound for provider retries accepted by the Core loop.

Retry configuration can be supplied by a host, so allowing an arbitrary u32 here would turn a transient provider failure into an effectively unbounded resource reservation.