MCPcopy Create free account
hub / github.com/cargo-lambda/cargo-lambda / retry_policy

Method retry_policy

crates/cargo-lambda-remote/src/lib.rs:44–47  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

42
43impl RemoteConfig {
44 fn retry_policy(&self) -> RetryConfig {
45 let attempts = self.retry_attempts.unwrap_or(1);
46 RetryConfig::standard().with_max_attempts(attempts)
47 }
48
49 pub async fn sdk_config(&self, retry: Option<RetryConfig>) -> SdkConfig {
50 let explicit_region = self.region.clone().map(Region::new);

Callers 1

sdk_configMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected