timers: remove unused parameter from insertGuarded

PR-URL: https://github.com/nodejs/node/pull/57251
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Gürgün Dayıoğlu authored and GitHub committed 2025-03-12 22:27:21 +00:00
1 parent 10ea7646d9
commit a0139e06a0
1 file changed
+2 -2
+2 -2
View File
@@ -362,12 +362,12 @@ function unrefActive(item) {
//
// Appends a timer onto the end of an existing timers list, or creates a new
// list if one does not already exist for the specified timeout duration.
function insertGuarded(item, refed, start) {
function insertGuarded(item, refed) {
const msecs = item._idleTimeout;
if (msecs < 0 || msecs === undefined)
return;
insert(item, msecs, start);
insert(item, msecs);
const isDestroyed = item._destroyed;
if (isDestroyed || !item[async_id_symbol]) {