mirror of
https://github.com/MingweiSamuel/Riven.git
synced 2024-12-26 02:46:31 +00:00
style: format
This commit is contained in:
parent
a7f72cd21a
commit
a2e2b6ed6c
1 changed files with 6 additions and 2 deletions
|
@ -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 a new issue