Skip to content

Commit

Permalink
squash! nit fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed May 14, 2018
1 parent 06deaf5 commit 34160c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-http2-session-timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ server.listen(0, common.mustCall(() => {
const diff = process.hrtime(startTime);
const milliseconds = (diff[0] * 1e3 + diff[1] / 1e6);
if (milliseconds < serverTimeout * 2) {
setTimeout(() => makeReq(), callTimeout);
setTimeout(makeReq, callTimeout);
} else {
server.removeListener('timeout', mustNotCall);
server.close();
Expand Down

0 comments on commit 34160c7

Please sign in to comment.