repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/express-worker_thr...
[poolifier.git]
/
src
/
pools
/
selection-strategies
/
abstract-worker-choice-strategy.ts
diff --git
a/src/pools/selection-strategies/abstract-worker-choice-strategy.ts
b/src/pools/selection-strategies/abstract-worker-choice-strategy.ts
index 5ec7cedc0f9dc0f2f4a1079302a94d515c5d4281..630a2258be49a7ed725f12b1ac555d510dd0e257 100644
(file)
--- a/
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
+++ b/
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
@@
-208,7
+208,7
@@
export abstract class AbstractWorkerChoiceStrategy<
*/
protected checkNextWorkerNodeEligibility (): void {
if (!this.isWorkerNodeEligible(this.nextWorkerNodeKey as number)) {
*/
protected checkNextWorkerNodeEligibility (): void {
if (!this.isWorkerNodeEligible(this.nextWorkerNodeKey as number)) {
- this.nextWorkerNodeKey = undefined
+ delete this.nextWorkerNodeKey
}
}
}
}