Permalink
Browse files

timers: clarify lib/timer.js comment

PR-URL: #11018
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Lance Ball <lball@redhat.com>
  • Loading branch information...
danbev authored and BridgeAR committed Jan 26, 2017
1 parent e167ab7 commit 3c65a83ac5c98b778ac91c64cb99a1a775c91c37
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/timers.js
View
@@ -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.

0 comments on commit 3c65a83

Please sign in to comment.