Use JoinSet for resolver tokio tasks

This commit is contained in:
Jeff Hiner
2022-04-14 14:31:26 -06:00
committed by Benjamin Fry
parent 3abf985736
commit 15423b8610
11 changed files with 45 additions and 39 deletions

View File

@@ -44,7 +44,7 @@ mod tests {
try_tcp_on_error: true,
..ResolverOpts::default()
},
TokioHandle,
TokioHandle::default(),
)
.expect("failed to create resolver");