Skip to content

Commit f49feab

Browse files
danbevMylesBorins
authored andcommitted
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>
1 parent 5c99fc3 commit f49feab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/timers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const TIMEOUT_MAX = 2147483647; // 2^31-1
7272
// timeout later, thus only needing to be appended.
7373
// Removal from an object-property linked list is also virtually constant-time
7474
// as can be seen in the lib/internal/linkedlist.js implementation.
75-
// Timeouts only need to process any timers due to currently timeout, which will
75+
// Timeouts only need to process any timers currently due to expire, which will
7676
// always be at the beginning of the list for reasons stated above. Any timers
7777
// after the first one encountered that does not yet need to timeout will also
7878
// always be due to timeout at a later time.

0 commit comments

Comments
 (0)