chore(dependencies): update tokio, h2, and tower-make
This commit is contained in:
committed by
Sean McArthur
parent
dc54ee199f
commit
053d6497bd
@@ -470,7 +470,7 @@ impl ConnectingTcp {
|
||||
local_addr,
|
||||
preferred: ConnectingTcpRemote::new(preferred_addrs),
|
||||
fallback: Some(ConnectingTcpFallback {
|
||||
delay: tokio_timer::sleep(fallback_timeout),
|
||||
delay: tokio_timer::delay_for(fallback_timeout),
|
||||
remote: ConnectingTcpRemote::new(fallback_addrs),
|
||||
}),
|
||||
reuse_address,
|
||||
|
||||
@@ -135,7 +135,7 @@ impl AddrIncoming {
|
||||
error!("accept error: {}", e);
|
||||
|
||||
// Sleep 1s.
|
||||
let mut timeout = tokio_timer::sleep(Duration::from_secs(1));
|
||||
let mut timeout = tokio_timer::delay_for(Duration::from_secs(1));
|
||||
|
||||
match Pin::new(&mut timeout).poll(cx) {
|
||||
Poll::Ready(()) => {
|
||||
|
||||
Reference in New Issue
Block a user