From ee5cdac90fa6079d1aa6c17b1f8c49e0e3a75cb0 Mon Sep 17 00:00:00 2001 From: OMGeeky Date: Sun, 29 Oct 2023 13:58:56 +0100 Subject: [PATCH] comment out dbg statement --- Cargo.toml | 2 +- src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f5ecd63..847a30b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reqwest-backoff" -version = "0.1.1" +version = "0.1.2" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/src/lib.rs b/src/lib.rs index eda4003..4718f12 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -144,7 +144,7 @@ fn is_backoff_limit_reached(attempt: u32, host: HostType) -> bool { #[tracing::instrument] fn check_response_is_backoff(response: &Response, host: HostType) -> bool { - dbg!(response, host); + // dbg!(response, host); let code = response.status(); if code.is_success() { return false; @@ -166,7 +166,7 @@ fn check_response_is_backoff(response: &Response, host: HostType) -> bool { #[tracing::instrument] fn get_backoff_time(response: &Response, host: HostType, attempt: u32) -> Result { - dbg!(response, host); + // dbg!(response, host); Ok(match host { HostType::Twitch => { let timestamp = get_twitch_rate_limit_value(response)?;