Change backoff retry in proxy
This commit is contained in:
parent
f1eda67c1e
commit
b3be9d2624
1 changed files with 1 additions and 1 deletions
|
@ -315,7 +315,7 @@ async fn handle_request(
|
|||
|
||||
// Proxy the request
|
||||
let retry_policy = reqwest_retry::policies::ExponentialBackoff::builder()
|
||||
.retry_bounds(Duration::from_secs(1), Duration::from_secs(8))
|
||||
.retry_bounds(Duration::from_millis(500), Duration::from_secs(8))
|
||||
.jitter(reqwest_retry::Jitter::None)
|
||||
.base(2)
|
||||
.build_with_max_retries(8);
|
||||
|
|
Loading…
Add table
Reference in a new issue