From be73a3633919d2db78286d69601b7a244e99da4e Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Mon, 11 Jun 2018 12:28:43 -0700 Subject: [PATCH] use custom resolver --- src/client/connector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/client/connector.rs b/src/client/connector.rs index bf9a0fefb..53a20aeed 100644 --- a/src/client/connector.rs +++ b/src/client/connector.rs @@ -865,7 +865,7 @@ impl fut::ActorFuture for Maintenance { let conn = AcquiredConn(key.clone(), Some(Rc::clone(&act.pool))); fut::WrapFuture::::actfuture( - Connector::from_registry().send( + act.resolver.send( ResolveConnect::host_and_port(&conn.0.host, conn.0.port) .timeout(waiter.conn_timeout), ),