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 abd324a commit a2117a1Copy full SHA for a2117a1
src/node_http2.cc
@@ -2728,8 +2728,8 @@ void Http2Session::Http2Ping::Send(uint8_t* payload) {
2728
}
2729
2730
void Http2Session::Http2Ping::Done(bool ack, const uint8_t* payload) {
2731
- session_->statistics_.ping_rtt = (uv_hrtime() - startTime_);
2732
- double duration = (session_->statistics_.ping_rtt - startTime_) / 1e6;
+ session_->statistics_.ping_rtt = uv_hrtime() - startTime_;
+ double duration = session_->statistics_.ping_rtt / 1e6;
2733
2734
Local<Value> buf = Undefined(env()->isolate());
2735
if (payload != nullptr) {
0 commit comments