repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: untangle worker choosing code from worker creation code
[poolifier.git]
/
src
/
pools
/
selection-strategies
/
selection-strategies-types.ts
diff --git
a/src/pools/selection-strategies/selection-strategies-types.ts
b/src/pools/selection-strategies/selection-strategies-types.ts
index fb864c5b08ffc31a3cb1336225d31f285b0ce240..9acf819b8b858900a1d42a5a681d7f001b152edf 100644
(file)
--- a/
src/pools/selection-strategies/selection-strategies-types.ts
+++ b/
src/pools/selection-strategies/selection-strategies-types.ts
@@
-30,7
+30,7
@@
export const WorkerChoiceStrategies = Object.freeze({
export type WorkerChoiceStrategy = keyof typeof WorkerChoiceStrategies
/**
export type WorkerChoiceStrategy = keyof typeof WorkerChoiceStrategies
/**
- * Pool tasks usage statistics requirements.
+ * Pool
worker
tasks usage statistics requirements.
*/
export interface RequiredStatistics {
runTime: boolean
*/
export interface RequiredStatistics {
runTime: boolean
@@
-42,7
+42,7
@@
export interface RequiredStatistics {
*/
export interface IWorkerChoiceStrategy {
/**
*/
export interface IWorkerChoiceStrategy {
/**
- * Is the pool
attache
d to the strategy dynamic?.
+ * Is the pool
boun
d to the strategy dynamic?.
*/
readonly isDynamicPool: boolean
/**
*/
readonly isDynamicPool: boolean
/**