feat: add least ELU worker choice strategy
authorJérôme Benoit <jerome.benoit@sap.com>
Tue, 6 Jun 2023 19:27:22 +0000 (21:27 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Tue, 6 Jun 2023 19:27:22 +0000 (21:27 +0200)
commit058a94577c79d9b62bf54516ea27e0e70f934fcc
tree26b2303a01f71c77ec20db196a5a7112e3e0ff37
parent5baee0d7ba81f62bb4547e02e278babd787ef746
feat: add least ELU worker choice strategy

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts
src/pools/selection-strategies/least-elu-worker-choice-strategy.ts [new file with mode: 0644]
src/pools/selection-strategies/selection-strategies-types.ts
src/pools/selection-strategies/worker-choice-strategy-context.ts