Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: triggerServerDidReady should be triggered only once (#3190)
<!-- Thank you for your pull request. Please review below requirements. Bug fixes and new features should include tests and possibly benchmarks. Contributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md 感谢您贡献代码。请确认下列 checklist 的完成情况。 Bug 修复和新功能必须包含测试,必要时请附上性能测试。 Contributors guide: https://github.com/eggjs/egg/blob/master/CONTRIBUTING.md --> ##### Checklist <!-- Remove items that do not apply. For completed items, change [ ] to [x]. --> - [x] `npm test` passes - [x] tests and/or benchmarks are included - [x] commit message follows commit guidelines ##### Affected core subsystem(s) <!-- Provide affected core subsystem(s). --> Lifecycle ##### Description of change <!-- Provide a description of the change below this comment. --> When worker restart, master process broadcast `egg-ready` event to all workers, so worker should listen `egg-ready` only once.
- Loading branch information