Skip to content

Commit

Permalink
use async resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
eaypek-tfh committed Jan 12, 2025
1 parent 1a3aefc commit 288451b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion deploy/stage/common-values-iris-mpc.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: "ghcr.io/worldcoin/iris-mpc:fb0b0c0ceba4ba804088aff69b538594d94dce0b"
image: "ghcr.io/worldcoin/iris-mpc:0825d2d274ffaa5d96d44e950852f930adee8629"

environment: stage
replicaCount: 1
Expand Down
1 change: 1 addition & 0 deletions iris-mpc/src/bin/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -711,6 +711,7 @@ impl ResolveDns for StaticResolver {
match resolver.lookup_ip(&hostname).await {
Ok(lookup_result) => {
let ips: Vec<IpAddr> = lookup_result.iter().collect();
tracing::info!("Resolved host {} to {:?}", hostname, ips);
Ok(ips)
}
Err(e) => Err(ResolveDnsError::new(format!(
Expand Down

0 comments on commit 288451b

Please sign in to comment.