mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-27 17:52:56 +01:00
use custom resolver
This commit is contained in:
parent
1ad8ba2604
commit
be73a36339
@ -865,7 +865,7 @@ impl fut::ActorFuture for Maintenance {
|
||||
let conn = AcquiredConn(key.clone(), Some(Rc::clone(&act.pool)));
|
||||
|
||||
fut::WrapFuture::<ClientConnector>::actfuture(
|
||||
Connector::from_registry().send(
|
||||
act.resolver.send(
|
||||
ResolveConnect::host_and_port(&conn.0.host, conn.0.port)
|
||||
.timeout(waiter.conn_timeout),
|
||||
),
|
||||
|
Loading…
Reference in New Issue
Block a user