parent
a3926c9f6f
commit
924557f0be
|
@ -46,7 +46,7 @@ async fn main() {
|
||||||
// Retry failed requests.
|
// Retry failed requests.
|
||||||
.with(RetryTransientMiddleware::new_with_policy(retry_policy))
|
.with(RetryTransientMiddleware::new_with_policy(retry_policy))
|
||||||
.build();
|
.build();
|
||||||
run(client).await;
|
run(client).await;
|
||||||
}
|
}
|
||||||
|
|
||||||
async fn run(client: ClientWithMiddleware) {
|
async fn run(client: ClientWithMiddleware) {
|
||||||
|
|
Loading…
Reference in New Issue