Skip to content

Commit

Permalink
timers: clarify lib/timer.js comment
Browse files Browse the repository at this point in the history
PR-URL: #11018
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
Reviewed-By: Lance Ball <[email protected]>
  • Loading branch information
danbev authored and jasnell committed Sep 20, 2017
1 parent bd07574 commit 6a94c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ const TIMEOUT_MAX = 2147483647; // 2^31-1
// timeout later, thus only needing to be appended.
// Removal from an object-property linked list is also virtually constant-time
// as can be seen in the lib/internal/linkedlist.js implementation.
// Timeouts only need to process any timers due to currently timeout, which will
// Timeouts only need to process any timers currently due to expire, which will
// always be at the beginning of the list for reasons stated above. Any timers
// after the first one encountered that does not yet need to timeout will also
// always be due to timeout at a later time.
Expand Down

0 comments on commit 6a94c1a

Please sign in to comment.