mirror of
https://github.com/actix/actix-web.git
synced 2024-12-18 22:26:37 +00:00
use custom resolver
This commit is contained in:
parent
1ad8ba2604
commit
be73a36339
1 changed files with 1 additions and 1 deletions
|
@ -865,7 +865,7 @@ impl fut::ActorFuture for Maintenance {
|
||||||
let conn = AcquiredConn(key.clone(), Some(Rc::clone(&act.pool)));
|
let conn = AcquiredConn(key.clone(), Some(Rc::clone(&act.pool)));
|
||||||
|
|
||||||
fut::WrapFuture::<ClientConnector>::actfuture(
|
fut::WrapFuture::<ClientConnector>::actfuture(
|
||||||
Connector::from_registry().send(
|
act.resolver.send(
|
||||||
ResolveConnect::host_and_port(&conn.0.host, conn.0.port)
|
ResolveConnect::host_and_port(&conn.0.host, conn.0.port)
|
||||||
.timeout(waiter.conn_timeout),
|
.timeout(waiter.conn_timeout),
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in a new issue