Skip to content

Commit

Permalink
refact: is_active into ServerInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
justRkive committed Sep 21, 2024
1 parent da81bb6 commit bc9fb79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/async_resolver/resolution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl Resolution {
for _ in 0..number_of_servers {
println!("Server retrans");
let server_entry_clone = self.state_block.get_current_server_entry().clone();
if !server_entry_clone.is_active() { continue; }
if !server_entry_clone.get_info().is_active() { continue; }

//start timer
let start = Instant::now();
Expand Down

0 comments on commit bc9fb79

Please sign in to comment.