refactor: flag some object literals as read only
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 19 Nov 2024 14:29:56 +0000 (15:29 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 19 Nov 2024 14:29:56 +0000 (15:29 +0100)
commit7cec62a452c0d44aa4494ff602bf4f6ee6e2be00
tree756e31fe71d406b4d29d5728f4e52dc7df6e124f
parentc0da3eb36df199c868361584786741ddacd4feaf
refactor: flag some object literals as read only

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