8000
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 fe3836a commit 5862d03Copy full SHA for 5862d03
src/node_http2.cc
@@ -2832,8 +2832,8 @@ void Http2Session::Http2Ping::Send(uint8_t* payload) {
2832
}
2833
2834
void Http2Session::Http2Ping::Done(bool ack, const uint8_t* payload) {
2835
- session_->statistics_.ping_rtt = (uv_hrtime() - startTime_);
2836
- double duration = (session_->statistics_.ping_rtt - startTime_) / 1e6;
+ session_->statistics_.ping_rtt = uv_hrtime() - startTime_;
+ double duration = session_->statistics_.ping_rtt / 1e6;
2837
2838
Local<Value> buf = Undefined(env()->isolate());
2839
if (payload != nullptr) {
0 commit comments