mirror of
https://github.com/edu4rdshl/fhc.git
synced 2026-07-17 23:24:50 +00:00
Change retries comparison logic.
This commit is contained in:
parent
513ce14200
commit
bc9e4043d9
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ pub async fn return_http_data(options: &LibOptions) -> HashMap<String, HttpData>
|
|||
let mut response = Option::<Response>::None;
|
||||
|
||||
async move {
|
||||
if options.retries != 1 {
|
||||
if options.retries > 1 {
|
||||
let mut counter = 0;
|
||||
while counter < options.retries {
|
||||
if let Some(resp) = https_send_fut.try_clone() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue