chore(dependencies): update tokio, h2, and tower-make

This commit is contained in:
Taiki Endo
2019-09-24 03:35:21 +09:00
committed by Sean McArthur
parent dc54ee199f
commit 053d6497bd
5 changed files with 33 additions and 33 deletions

View File

@@ -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(()) => {