Skip to content

Commit

Permalink
Apply comments
Browse files Browse the repository at this point in the history
  • Loading branch information
DoumanAsh committed Dec 13, 2024
1 parent 7a6ad3f commit 966919e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ impl HttpClient {
retries += 1;
if retries >= RETRY_COUNT {
return Err(err);
} else {
tokio::time::sleep(tokio::time::Duration::from_millis(200)).await;
}

tokio::time::sleep(Duration::from_millis(200)).await;
};

serde_json::from_slice(&body)
Expand Down

0 comments on commit 966919e

Please sign in to comment.