We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e85c20b commit a890864Copy full SHA for a890864
src/node_http2.cc
@@ -2617,8 +2617,8 @@ void Http2Session::Http2Ping::Send(uint8_t* payload) {
2617
}
2618
2619
void Http2Session::Http2Ping::Done(bool ack, const uint8_t* payload) {
2620
- session_->statistics_.ping_rtt = (uv_hrtime() - startTime_);
2621
- double duration = (session_->statistics_.ping_rtt - startTime_) / 1e6;
+ session_->statistics_.ping_rtt = uv_hrtime() - startTime_;
+ double duration = session_->statistics_.ping_rtt / 1e6;
2622
2623
Local<Value> buf = Undefined(env()->isolate());
2624
if (payload != nullptr) {
0 commit comments