From b36c4295129c53a61872e03e5207385882c9ed0a Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Thu, 26 Jan 2017 20:29:39 +0100 Subject: [PATCH] timers: clarify lib/timer.js comment Clarifying and using cjihrig suggestion as mentioned here: https://github.com/nodejs/node/pull/11018#issuecomment-275442308 --- lib/timers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/timers.js b/lib/timers.js index 0784f7f1e11247..1bac4829421f0b 100644 --- a/lib/timers.js +++ b/lib/timers.js @@ -72,7 +72,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.