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
Jérôme Benoit [Thu, 14 Dec 2023 02:25:10 +0000 (03:25 +0100)]
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-hybrid/poolifier-3.0.14 into combined-prs-branch
Jérôme Benoit [Thu, 14 Dec 2023 02:25:10 +0000 (03:25 +0100)]
Merge dependabot/npm_and_yarn/examples/typescript/http-server-pool/fastify-hybrid/fastify-4.25.0 into combined-prs-branch
Jérôme Benoit [Wed, 13 Dec 2023 23:52:52 +0000 (00:52 +0100)]
Merge branch 'master' of github.com:poolifier/poolifier
Jérôme Benoit [Wed, 13 Dec 2023 23:51:39 +0000 (00:51 +0100)]
fix: fix busy worker nodes computation with tasks queing
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
Jérôme Benoit [Wed, 13 Dec 2023 23:07:25 +0000 (23:07 +0000)]
Merge pull request #1772 from poolifier/dependabot/github_actions/github/codeql-action-3
build(deps): bump github/codeql-action from 2 to 3
Jérôme Benoit [Wed, 13 Dec 2023 23:06:56 +0000 (23:06 +0000)]
Merge pull request #1773 from poolifier/dependabot/github_actions/sonarsource/sonarcloud-github-action-2.1.1
build(deps): bump sonarsource/sonarcloud-github-action from 2.1.0 to 2.1.1
dependabot[bot] [Wed, 13 Dec 2023 21:17:29 +0000 (21:17 +0000)]
build(deps): bump fastify
Bumps [fastify](https://github.com/fastify/fastify) from 4.24.3 to 4.25.0.
- [Release notes](https://github.com/fastify/fastify/releases)
- [Commits](https://github.com/fastify/fastify/compare/v4.24.3...v4.25.0)
---
updated-dependencies:
- dependency-name: fastify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Wed, 13 Dec 2023 21:17:13 +0000 (21:17 +0000)]
build(deps): bump poolifier
Bumps [poolifier](https://github.com/poolifier/poolifier) from 3.0.13 to 3.0.14.
- [Release notes](https://github.com/poolifier/poolifier/releases)
- [Changelog](https://github.com/poolifier/poolifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/poolifier/poolifier/compare/v3.0.13...v3.0.14)
---
updated-dependencies:
- dependency-name: poolifier
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Wed, 13 Dec 2023 20:59:10 +0000 (20:59 +0000)]
build(deps): bump poolifier in /examples/typescript/http-client-pool
Bumps [poolifier](https://github.com/poolifier/poolifier) from 3.0.13 to 3.0.14.
- [Release notes](https://github.com/poolifier/poolifier/releases)
- [Changelog](https://github.com/poolifier/poolifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/poolifier/poolifier/compare/v3.0.13...v3.0.14)
---
updated-dependencies:
- dependency-name: poolifier
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Wed, 13 Dec 2023 20:49:42 +0000 (20:49 +0000)]
build(deps): bump poolifier
Bumps [poolifier](https://github.com/poolifier/poolifier) from 3.0.13 to 3.0.14.
- [Release notes](https://github.com/poolifier/poolifier/releases)
- [Changelog](https://github.com/poolifier/poolifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/poolifier/poolifier/compare/v3.0.13...v3.0.14)
---
updated-dependencies:
- dependency-name: poolifier
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Wed, 13 Dec 2023 20:43:52 +0000 (20:43 +0000)]
build(deps): bump sonarsource/sonarcloud-github-action
Bumps [sonarsource/sonarcloud-github-action](https://github.com/sonarsource/sonarcloud-github-action) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/sonarsource/sonarcloud-github-action/releases)
- [Commits](https://github.com/sonarsource/sonarcloud-github-action/compare/v2.1.0...v2.1.1)
---
updated-dependencies:
- dependency-name: sonarsource/sonarcloud-github-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Wed, 13 Dec 2023 20:43:48 +0000 (20:43 +0000)]
build(deps): bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Wed, 13 Dec 2023 20:39:20 +0000 (20:39 +0000)]
build(deps): bump poolifier
Bumps [poolifier](https://github.com/poolifier/poolifier) from 3.0.13 to 3.0.14.
- [Release notes](https://github.com/poolifier/poolifier/releases)
- [Changelog](https://github.com/poolifier/poolifier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/poolifier/poolifier/compare/v3.0.13...v3.0.14)
---
updated-dependencies:
- dependency-name: poolifier
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>