Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
lib: update comment
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
RaisinTen and aduh95 authored Jan 2, 2023
commit 1da9e75844b0aaece25abd4301b023ec521da234
2 changes: 1 addition & 1 deletion lib/internal/timers.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ let nextExpiry = Infinity;
// timeoutInfo is an Int32Array that contains the reference count of Timeout
// objects at index 0. This is a TypedArray so that GetActiveResourcesInfo() in
// `src/node_process_methods.cc` is able to access this value without crossing
// the JS-C++ boundary, which is currently slow.
// the JS-C++ boundary, which is slow at the time of writing.
timeoutInfo[0] = 0;
Comment thread
RaisinTen marked this conversation as resolved.

// This is a priority queue with a custom sorting function that first compares
Expand Down