repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps-dev): apply updates
[poolifier.git]
/
src
/
pools
/
selection-strategies
/
worker-choice-strategies-context.ts
diff --git
a/src/pools/selection-strategies/worker-choice-strategies-context.ts
b/src/pools/selection-strategies/worker-choice-strategies-context.ts
index b7b0ad5633ca53bbbf459f18ea189996a08091cf..a736896a792649a85c9294d9b53aa6633b442820 100644
(file)
--- a/
src/pools/selection-strategies/worker-choice-strategies-context.ts
+++ b/
src/pools/selection-strategies/worker-choice-strategies-context.ts
@@
-174,7
+174,7
@@
export class WorkerChoiceStrategiesContext<
} while (workerNodeKey == null && retriesCount < this.retries)
if (workerNodeKey == null) {
throw new Error(
} while (workerNodeKey == null && retriesCount < this.retries)
if (workerNodeKey == null) {
throw new Error(
- `Worker node key chosen is null or undefined after ${retriesCount} retries`
+ `Worker node key chosen is null or undefined after ${retriesCount
.toString()
} retries`
)
}
return workerNodeKey
)
}
return workerNodeKey