MCPcopy Create free account
hub / github.com/ChrisFeldmeier/OpenCodeRust / default

Method default

crates/opencode-provider/src/retry.rs:29–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27
28impl Default for RetryConfig {
29 fn default() -> Self {
30 Self {
31 max_attempts: 5,
32 initial_delay: RETRY_INITIAL_DELAY,
33 backoff_factor: RETRY_BACKOFF_FACTOR,
34 max_delay_no_headers: RETRY_MAX_DELAY_NO_HEADERS,
35 max_delay: RETRY_MAX_DELAY,
36 }
37 }
38}
39
40// ---------------------------------------------------------------------------

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected