refactor: remove unneeded null checks
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 3 Sep 2023 12:34:56 +0000 (14:34 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Sun, 3 Sep 2023 12:34:56 +0000 (14:34 +0200)
commit46b0bb099fa5f4d822c5f271d24b4e9858c5b807
treebc1fd0b62c60f58c89007f2cf22515a6e46bcf95
parent946b809b91118cd7442b90971344e53e15c26466
refactor: remove unneeded null checks

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
src/pools/abstract-pool.ts
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
src/pools/selection-strategies/least-busy-worker-choice-strategy.ts
src/pools/selection-strategies/least-elu-worker-choice-strategy.ts