Skip to content

Commit

Permalink
timers: clarify lib/timer.js comment
Browse files Browse the repository at this point in the history
PR-URL: nodejs/node#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 Stephen Belanger committed Sep 21, 2017
1 parent 7c81e73 commit ec94aa1
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 @@ -108,7 +108,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 ec94aa1

Please sign in to comment.