Skip to content

Commit

Permalink
lib: fix typo in timers insert function comment
Browse files Browse the repository at this point in the history
PR-URL: #33301
Reviewed-By: Zeyu Yang <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
danbev authored and codebytere committed May 11, 2020
1 parent 3de9dd9 commit a133a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/timers.js
Original file line number Diff line number Diff line change
@@ -338,7 +338,7 @@ function insertGuarded(item, refed, start) {
}

function insert(item, msecs, start = getLibuvNow()) {
// Truncate so that accuracy of sub-milisecond timers is not assumed.
// Truncate so that accuracy of sub-millisecond timers is not assumed.
msecs = MathTrunc(msecs);
item._idleStart = start;

0 comments on commit a133a88

Please sign in to comment.