Skip to content

Commit

Permalink
fix: too often logging
Browse files Browse the repository at this point in the history
  • Loading branch information
skifli authored Oct 1, 2024
1 parent 41e4f9d commit c335a82
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bruty_server/src/server_threads.rs
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ pub async fn results_progress_handler(
state.current_id.iter().collect::<String>()
);
} else {
if cant_update_awaiting_results != awaiting_results {
if cant_update_awaiting_results != awaiting_current_id_update {
log::warn!(
"Can't update current ID to {:?}[{}], awaiting {:?}",
awaiting_current_id_update
Expand All @@ -162,7 +162,7 @@ pub async fn results_progress_handler(
.collect::<Vec<String>>()
);

cant_update_awaiting_results = awaiting_results.clone();
cant_update_awaiting_results = awaiting_current_id_update.clone();
}

break;
Expand Down

0 comments on commit c335a82

Please sign in to comment.