This commit is contained in:
Tatsuhiro Tsujikawa 2021-09-05 17:47:50 +09:00
parent 649c69fa9e
commit 72702a042e
1 changed files with 1 additions and 1 deletions

View File

@ -2478,7 +2478,7 @@ int Http3Upstream::start_graceful_shutdown() {
auto t = ngtcp2_conn_get_pto(conn_); auto t = ngtcp2_conn_get_pto(conn_);
ev_timer_set(&shutdown_timer_, static_cast<ev_tstamp>(t) * 3 / NGTCP2_SECONDS, ev_timer_set(&shutdown_timer_, static_cast<ev_tstamp>(t * 3) / NGTCP2_SECONDS,
0.); 0.);
ev_timer_start(handler_->get_loop(), &shutdown_timer_); ev_timer_start(handler_->get_loop(), &shutdown_timer_);