Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Commit

Permalink
🔇 Reduce spam for timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Aug 14, 2021
1 parent 20cfee7 commit 06ee611
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "blitz-dashboard"
version = "0.44.9"
version = "0.44.10"
authors = ["Pavel Perestoronin <[email protected]>"]
edition = "2018"
resolver = "2"
Expand Down
4 changes: 1 addition & 3 deletions src/wargaming.rs
Original file line number Diff line number Diff line change
Expand Up @@ -215,9 +215,7 @@ impl WargamingApi {
}
}
Err(error) if error.is_timeout() => {
// ♻️ The HTTP request has timed out. Retrying…
log::warn!("Wargaming.net API has timed out.");
capture_message("Wargaming.net API has timed out", Level::Info);
// ♻️ The HTTP request has timed out. No action needed, retrying…
}
Err(error) => {
// ♻️ The TCP/HTTP request has failed for a different reason. Keep retrying for a while.
Expand Down

0 comments on commit 06ee611

Please sign in to comment.