From 06ee611d318df680009eab7184a9230deb8ac4bc Mon Sep 17 00:00:00 2001 From: Pavel Perestoronin Date: Sat, 14 Aug 2021 14:56:39 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=87=20Reduce=20spam=20for=20timeouts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.lock | 2 +- Cargo.toml | 2 +- src/wargaming.rs | 4 +--- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index bed71eff..254a5111 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -235,7 +235,7 @@ dependencies = [ [[package]] name = "blitz-dashboard" -version = "0.44.9" +version = "0.44.10" dependencies = [ "anyhow", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 55a22c3e..b99b781a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "blitz-dashboard" -version = "0.44.9" +version = "0.44.10" authors = ["Pavel Perestoronin "] edition = "2018" resolver = "2" diff --git a/src/wargaming.rs b/src/wargaming.rs index 2846eb57..9aa10818 100644 --- a/src/wargaming.rs +++ b/src/wargaming.rs @@ -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.