Skip to content

Commit

Permalink
remove failed queries from tracking hashmap
Browse files Browse the repository at this point in the history
  • Loading branch information
h3fang committed Aug 22, 2022
1 parent b9cc227 commit 9b5d9ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ impl Resolver {
}
}

self.ongoing.lock().await.remove(q);
Err(ResolveError::AllFailed)
}

Expand Down

0 comments on commit 9b5d9ec

Please sign in to comment.