perf: take into account the number of run tasks in LRU worker choice
[poolifier.git] / src / pools / selection-strategies / weighted-round-robin-worker-choice-strategy.ts
index fc9b069522c8366226836a28bac08518dc23b969..2813023face3f6dcfb8df53b6d7607cbf5f3c276 100644 (file)
@@ -1,4 +1,4 @@
-import { cpus } from 'os'
+import { cpus } from 'node:os'
 import type { IPoolInternal } from '../pool-internal'
 import type { IPoolWorker } from '../pool-worker'
 import { AbstractWorkerChoiceStrategy } from './abstract-worker-choice-strategy'