Jérôme Benoit [Thu, 21 Dec 2023 11:09:09 +0000 (12:09 +0100)]
chore: v3.1.8
Jérôme Benoit [Thu, 21 Dec 2023 10:57:58 +0000 (11:57 +0100)]
fix: fix possible null exception at pool destroying
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 21 Dec 2023 10:45:57 +0000 (11:45 +0100)]
fix: make worker weight default computation more robust
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Thu, 21 Dec 2023 00:10:02 +0000 (01:10 +0100)]
test: improve IWRR coverage
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 23:04:01 +0000 (00:04 +0100)]
refactor: cleanup default arguments handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 18:38:36 +0000 (19:38 +0100)]
refactor: refine worker node existence test
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Documentation Bot [Wed, 20 Dec 2023 15:28:41 +0000 (15:28 +0000)]
docs: generate documentation
Jérôme Benoit [Wed, 20 Dec 2023 15:25:37 +0000 (16:25 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 15:20:59 +0000 (16:20 +0100)]
chore: v3.1.7
Jérôme Benoit [Wed, 20 Dec 2023 15:16:21 +0000 (16:16 +0100)]
Merge pull request #1782 from jerome-benoit/fix-worker-readiness
fix: wait for worker node readiness
Jérôme Benoit [Wed, 20 Dec 2023 15:07:08 +0000 (16:07 +0100)]
test: refine expectation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 14:58:42 +0000 (15:58 +0100)]
build: refine coverage thresholds
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 14:54:55 +0000 (15:54 +0100)]
refactor: cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 14:48:26 +0000 (15:48 +0100)]
test: skip some tests
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 14:36:17 +0000 (15:36 +0100)]
test: fix test expectation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 14:30:39 +0000 (15:30 +0100)]
fix: put back properties init in constructor
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 14:14:08 +0000 (15:14 +0100)]
test: less stricter expectation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 13:35:00 +0000 (14:35 +0100)]
test: less strict expectation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 13:30:25 +0000 (14:30 +0100)]
test: less strict expectation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 13:26:09 +0000 (14:26 +0100)]
fix: fix worker weights handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 13:21:00 +0000 (14:21 +0100)]
test: less strict expectation for CI
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 13:01:12 +0000 (14:01 +0100)]
test: less strict expectation for CI
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 12:54:42 +0000 (13:54 +0100)]
test: less strict expectation for CI
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 12:46:40 +0000 (13:46 +0100)]
Merge branch 'fix-worker-readiness' of github.com:jerome-benoit/poolifier into fix-worker-readiness
Jérôme Benoit [Wed, 20 Dec 2023 12:46:06 +0000 (13:46 +0100)]
test: less strict expectation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 12:39:33 +0000 (13:39 +0100)]
Merge branch 'master' into fix-worker-readiness
Jérôme Benoit [Wed, 20 Dec 2023 12:36:27 +0000 (13:36 +0100)]
refactor: revert previous commit
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 12:32:46 +0000 (13:32 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 12:23:45 +0000 (13:23 +0100)]
test: fix worker choice defaults
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 12:06:03 +0000 (13:06 +0100)]
refactor: cleanup IWRR init
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 20 Dec 2023 11:49:35 +0000 (12:49 +0100)]
fix: properly account worker choice retries for WRR
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 19 Dec 2023 22:50:33 +0000 (23:50 +0100)]
refactor: remove unneeded type casting
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 19 Dec 2023 22:47:23 +0000 (23:47 +0100)]
fix: ensure the number of worker choice retries is enough for WRR
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 19 Dec 2023 22:10:11 +0000 (23:10 +0100)]
docs: refine code comments
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 19 Dec 2023 21:38:15 +0000 (22:38 +0100)]
docs: refine code comment
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 19 Dec 2023 21:22:17 +0000 (22:22 +0100)]
fix: ensure worker choice is retried at least the pool max size
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 19 Dec 2023 18:10:24 +0000 (19:10 +0100)]
docs: add changelog entry
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 19 Dec 2023 18:01:35 +0000 (19:01 +0100)]
test: remove unneeded sleep
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 19 Dec 2023 17:56:54 +0000 (18:56 +0100)]
test: test for wait node readiness in dynamic pool
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Tue, 19 Dec 2023 13:09:50 +0000 (14:09 +0100)]
fix: wait for worker node readiness
closes #1748
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 18 Dec 2023 21:58:51 +0000 (22:58 +0100)]
test: refine expectation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 18 Dec 2023 21:50:50 +0000 (22:50 +0100)]
fix: fix pool destroying with tasks queuing enabled
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 18 Dec 2023 21:41:33 +0000 (22:41 +0100)]
build(ci): fix pool destroy timeout
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Documentation Bot [Mon, 18 Dec 2023 21:35:02 +0000 (21:35 +0000)]
docs: generate documentation
Jérôme Benoit [Mon, 18 Dec 2023 21:33:35 +0000 (22:33 +0100)]
chore: v3.1.6
Jérôme Benoit [Mon, 18 Dec 2023 21:20:41 +0000 (22:20 +0100)]
fix: fix pool destroying with tasks queuing enabled
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 18 Dec 2023 18:23:34 +0000 (19:23 +0100)]
refactor: allow to disable tasks end wait time
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 18 Dec 2023 17:38:56 +0000 (18:38 +0100)]
build(deps): apply updates in examples
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Documentation Bot [Mon, 18 Dec 2023 17:34:00 +0000 (17:34 +0000)]
docs: generate documentation
Jérôme Benoit [Mon, 18 Dec 2023 17:32:34 +0000 (18:32 +0100)]
chore: v3.1.5
Jérôme Benoit [Mon, 18 Dec 2023 17:21:06 +0000 (18:21 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 18 Dec 2023 16:41:58 +0000 (17:41 +0100)]
docs: fix tasksFinishedTimeout default value
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 18 Dec 2023 16:39:40 +0000 (17:39 +0100)]
refactor: set tasksFinishedTimeout default to 2000ms
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 18 Dec 2023 16:13:26 +0000 (17:13 +0100)]
feat: add queued tasks end timeout support to worker node termination
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Mon, 18 Dec 2023 13:07:38 +0000 (14:07 +0100)]
perf: update worker choice strategies internal if needed
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Documentation Bot [Mon, 18 Dec 2023 10:05:52 +0000 (10:05 +0000)]
docs: generate documentation
Jérôme Benoit [Mon, 18 Dec 2023 10:03:54 +0000 (11:03 +0100)]
chore: v3.1.4
Jérôme Benoit [Mon, 18 Dec 2023 09:54:53 +0000 (10:54 +0100)]
fix: more robust fix for possible null exception at handling task execution response
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 17 Dec 2023 21:50:09 +0000 (22:50 +0100)]
fix: refine possible null exception fix at task response handling
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Documentation Bot [Sun, 17 Dec 2023 21:37:03 +0000 (21:37 +0000)]
docs: generate documentation
Jérôme Benoit [Sun, 17 Dec 2023 21:34:53 +0000 (22:34 +0100)]
chore: v3.1.3
Jérôme Benoit [Sun, 17 Dec 2023 21:16:09 +0000 (22:16 +0100)]
fix: fix possible null exception at handling task execution response
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 17 Dec 2023 20:46:28 +0000 (21:46 +0100)]
docs: fix docs/api.md identation
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Documentation Bot [Sun, 17 Dec 2023 19:42:02 +0000 (19:42 +0000)]
docs: generate documentation
Jérôme Benoit [Sun, 17 Dec 2023 19:37:40 +0000 (20:37 +0100)]
chore: v3.1.2
Jérôme Benoit [Sun, 17 Dec 2023 19:32:16 +0000 (20:32 +0100)]
fix: wait for queued tasks to end at worker termination
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 17 Dec 2023 18:58:13 +0000 (19:58 +0100)]
refactor: emit worker node event at task end
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sun, 17 Dec 2023 10:03:55 +0000 (11:03 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 16 Dec 2023 21:24:39 +0000 (22:24 +0100)]
refactor: cleanup exports
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 16 Dec 2023 20:14:04 +0000 (21:14 +0100)]
refactor: blank line cleanups
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 16 Dec 2023 18:36:31 +0000 (19:36 +0100)]
test: refine expectation at back pressure callback
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 16 Dec 2023 18:03:31 +0000 (19:03 +0100)]
refactor: examples import cleanup
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 16 Dec 2023 16:46:22 +0000 (17:46 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Documentation Bot [Sat, 16 Dec 2023 16:14:02 +0000 (16:14 +0000)]
docs: generate documentation
Jérôme Benoit [Sat, 16 Dec 2023 16:04:52 +0000 (17:04 +0100)]
chore: v3.1.1
Jérôme Benoit [Sat, 16 Dec 2023 16:02:37 +0000 (17:02 +0100)]
fix: fix types definition in examples
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 16 Dec 2023 15:58:59 +0000 (16:58 +0100)]
docs: move changelog entry to the right section
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 16 Dec 2023 15:52:59 +0000 (16:52 +0100)]
fix: fix pool options TS type definition
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Documentation Bot [Sat, 16 Dec 2023 15:09:28 +0000 (15:09 +0000)]
docs: generate documentation
Jérôme Benoit [Sat, 16 Dec 2023 15:07:35 +0000 (16:07 +0100)]
chore: v3.1.0
Jérôme Benoit [Sat, 16 Dec 2023 14:26:37 +0000 (15:26 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 16 Dec 2023 13:24:33 +0000 (14:24 +0100)]
refactor: cleanup handler naming
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 16 Dec 2023 12:26:32 +0000 (13:26 +0100)]
refactor: cleanup worker error handling code
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Sat, 16 Dec 2023 09:39:35 +0000 (10:39 +0100)]
refactor: factor out worker node termination code
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 15 Dec 2023 16:59:52 +0000 (17:59 +0100)]
refactor: move worker setup into worker node constructor
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 15 Dec 2023 11:32:55 +0000 (12:32 +0100)]
build(ci): reduce coverage requirements for node 18.x
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 15 Dec 2023 09:22:20 +0000 (10:22 +0100)]
build(deps-dev): apply updates
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Fri, 15 Dec 2023 09:02:34 +0000 (10:02 +0100)]
Merge pull request #1778 from poolifier/combined-prs-branch
Combined PRs
Jérôme Benoit [Fri, 15 Dec 2023 02:27:08 +0000 (03:27 +0100)]
Merge branch 'master' into combined-prs-branch
Jérôme Benoit [Thu, 14 Dec 2023 02:25:19 +0000 (03:25 +0100)]
Merge branch 'master' into combined-prs-branch
Jérôme Benoit [Thu, 14 Dec 2023 02:25:17 +0000 (03:25 +0100)]
Merge dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-hybrid/poolifier-3.0.14 into combined-prs-branch
Jérôme Benoit [Thu, 14 Dec 2023 02:25:16 +0000 (03:25 +0100)]
Merge dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-cluster/poolifier-3.0.14 into combined-prs-branch
Jérôme Benoit [Thu, 14 Dec 2023 02:25:15 +0000 (03:25 +0100)]
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-cluster/poolifier-3.0.14 into combined-prs-branch
Jérôme Benoit [Thu, 14 Dec 2023 02:25:15 +0000 (03:25 +0100)]
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/express-worker_threads/poolifier-3.0.14 into combined-prs-branch
Jérôme Benoit [Thu, 14 Dec 2023 02:25:14 +0000 (03:25 +0100)]
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-worker_threads/fastify-4.25.0 into combined-prs-branch
Jérôme Benoit [Thu, 14 Dec 2023 02:25:13 +0000 (03:25 +0100)]
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-worker_threads/poolifier-3.0.14 into combined-prs-branch
Jérôme Benoit [Thu, 14 Dec 2023 02:25:13 +0000 (03:25 +0100)]
Merge dependabot/npm_and_yarn/examples/typescript/smtp-client-pool/poolifier-3.0.14 into combined-prs-branch
Jérôme Benoit [Thu, 14 Dec 2023 02:25:12 +0000 (03:25 +0100)]
Merge dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-worker_threads/poolifier-3.0.14 into combined-prs-branch
Jérôme Benoit [Thu, 14 Dec 2023 02:25:12 +0000 (03:25 +0100)]
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/express-cluster/poolifier-3.0.14 into combined-prs-branch
Jérôme Benoit [Thu, 14 Dec 2023 02:25:11 +0000 (03:25 +0100)]
Merge dependabot/npm_and_yarn/examples/typescript/http-client-pool/poolifier-3.0.14 into combined-prs-branch