Skip to content

Commit

Permalink
Fixed retries
Browse files Browse the repository at this point in the history
  • Loading branch information
ngrislain committed Nov 10, 2023
1 parent e12e1a7 commit 0a7a56d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/io/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ pub fn try_some_times<T, F: Fn() -> Result<T>>(max_retry: usize, f: F) -> Result
thread::sleep(time::Duration::from_secs(1));
num_retry += 1;
log::info!("Retrying {num_retry} times.");
println!("Retrying {num_retry} times.");
if num_retry > max_retry {
return Err(err);
}
Expand Down

0 comments on commit 0a7a56d

Please sign in to comment.