Skip to content

Commit

Permalink
Merge pull request #300 from nomagick/patch-2
Browse files Browse the repository at this point in the history
fix: unref setTimeout in pool
  • Loading branch information
Kikobeats authored Aug 4, 2022
2 parents 7af3338 + e94fd37 commit 6a88c64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Pool.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ class Pool extends EventEmitter {
this._scheduledEviction = setTimeout(() => {
this._evict();
this._scheduleEvictorRun();
}, this._config.evictionRunIntervalMillis);
}, this._config.evictionRunIntervalMillis).unref();
}
}

Expand Down

0 comments on commit 6a88c64

Please sign in to comment.