egg-cluster
egg-cluster copied to clipboard
cluster manager for egg
##### Checklist - [x] `npm test` passes - [ ] tests and/or benchmarks are included - [x] documentation is changed or added - [x] commit message follows commit guidelines #####...
##### Checklist - [x] `npm test` passes - [x] commit message follows commit guidelines ##### Affected core subsystem(s) ##### Description of change current workflow for killing a worker: `worker.kill('SIGTERM') ->...
##### Checklist - [x] `npm test` passes - [x] tests and/or benchmarks are included - [x] documentation is changed or added - [x] commit message follows commit guidelines ##### Affected...
##### Checklist - [x] `npm test` passes - [x] tests and/or benchmarks are included - [x] commit message follows commit guidelines ##### Affected core subsystem(s) ##### Description of change
@TOFIX log print http not https cause master.js@Line469 use this.options.https ##### Checklist - [ ] `npm test` passes - [ ] tests and/or benchmarks are included - [ ] documentation...
##### Checklist - [x] `npm test` passes - [x] tests and/or benchmarks are included - [ ] documentation is changed or added - [ ] commit message follows commit guidelines...
##### Checklist - [x] `npm test` passes - [x] commit message follows commit guidelines ##### Description of change When there are >1 workers, it seems https://github.com/eggjs/egg-cluster/blob/74cbb35a8890cdf069f2a98aab288d9804419c70/lib/app_worker.js#L135 will trigger [onAppStart()](https://github.com/thorseraq/egg-cluster/blob/f49f8a98d843dadba139cc41bd209965282c3fde/lib/master.js#L448) for...
**Version:** system: macOS 14.4.1 node: 20.12.2 "egg": "^3.17.5", "egg-cluster": "^2.2.1", Minimal Code Example: `npx egg-init --type simple` ```js // router.js module.exports = app => { const { router, controller }...
closes https://github.com/eggjs/egg/issues/5365 ## Summary by CodeRabbit ## Release Notes - **New Features** - Introduced a `reusePort` option for server configuration, allowing multiple sockets to bind to the same port. -...