Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit f49feab

Browse filesBrowse 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
Copy full SHA for f49feab

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

‎lib/timers.js‎

Copy file name to clipboardExpand all lines: lib/timers.js
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.