comment out dbg statement

This commit is contained in:
OMGeeky
2023-10-29 13:58:56 +01:00
parent d677b26f89
commit ee5cdac90f
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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<u64> {
dbg!(response, host);
// dbg!(response, host);
Ok(match host {
HostType::Twitch => {
let timestamp = get_twitch_rate_limit_value(response)?;