refactor: code cleanups
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 21 May 2024 18:20:43 +0000 (20:20 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Tue, 21 May 2024 18:20:43 +0000 (20:20 +0200)
commit80115618ce24038f504dc447dfb7c4fbd9c5d698
treec76f7c8864af3dcf01d195aef381156b299e199b
parentd912486e16e6971854a0118268bc6d13a0291466
refactor: code cleanups

Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
23 files changed:
benchmarks/worker-selection/least.mjs
examples/typescript/http-client-pool/src/types.ts
examples/typescript/http-server-pool/express-cluster/src/worker.ts
examples/typescript/http-server-pool/express-hybrid/src/express-worker.ts
examples/typescript/http-server-pool/express-hybrid/src/request-handler-worker.ts
examples/typescript/http-server-pool/express-worker_threads/src/main.ts
examples/typescript/http-server-pool/express-worker_threads/src/pool.ts
examples/typescript/http-server-pool/express-worker_threads/src/worker.ts
examples/typescript/http-server-pool/fastify-hybrid/@types/fastify/index.d.ts
examples/typescript/http-server-pool/fastify-hybrid/src/fastify-poolifier.ts
examples/typescript/http-server-pool/fastify-hybrid/src/request-handler-worker.ts
examples/typescript/http-server-pool/fastify-worker_threads/src/fastify-poolifier.ts
examples/typescript/http-server-pool/fastify-worker_threads/src/worker.ts
examples/typescript/websocket-server-pool/ws-hybrid/src/request-handler-worker.ts
examples/typescript/websocket-server-pool/ws-worker_threads/src/pool.ts
examples/typescript/websocket-server-pool/ws-worker_threads/src/worker.ts
src/pools/abstract-pool.ts
src/pools/selection-strategies/fair-share-worker-choice-strategy.ts
src/pools/utils.ts
src/priority-queue.ts
src/utils.ts
tests/priority-queue.test.mjs
tests/utils.test.mjs