repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Rename FullPool event to busy, update benchmarks
[poolifier.git]
/
src
/
pools
/
selection-strategies.ts
diff --git
a/src/pools/selection-strategies.ts
b/src/pools/selection-strategies.ts
index 53b129c9a4f1dd6cf1883b2d3157026b56b6ee4a..692ace93889efb399c83ab04072be95fbb1ad314 100644
(file)
--- a/
src/pools/selection-strategies.ts
+++ b/
src/pools/selection-strategies.ts
@@
-144,7
+144,7
@@
class DynamicPoolWorkerChoiceStrategy<Worker extends IWorker, Data, Response>
}
if (this.pool.workers.length === this.pool.max) {
- this.pool.emitter.emit('
FullPool
')
+ this.pool.emitter.emit('
busy
')
return this.workerChoiceStrategy.choose()
}