mirror of https://github.com/MingweiSamuel/Riven
style: format
parent
a7f72cd21a
commit
a2e2b6ed6c
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
use memo_map::MemoMap;
|
use memo_map::MemoMap;
|
||||||
use reqwest::{RequestBuilder, StatusCode};
|
use reqwest::{RequestBuilder, StatusCode};
|
||||||
#[cfg(feature = "tracing")]
|
#[cfg(feature = "tracing")]
|
||||||
|
@ -135,7 +134,12 @@ impl RegionalRequester {
|
||||||
backoff.await;
|
backoff.await;
|
||||||
}
|
}
|
||||||
Some(delay) => {
|
Some(delay) => {
|
||||||
log::debug!("Response {} (retried {} times), `retry-after` set, retrying after {:?}.", status, retries, delay);
|
log::debug!(
|
||||||
|
"Response {} (retried {} times), `retry-after` set, retrying after {:?}.",
|
||||||
|
status,
|
||||||
|
retries,
|
||||||
|
delay
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
retries += 1;
|
retries += 1;
|
||||||
|
|
Loading…
Reference in New Issue