Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

跟进 SO_REUSEPORT #5365

Open
fengmk2 opened this issue Oct 25, 2024 · 3 comments · May be fixed by eggjs/egg-cluster#115
Open

跟进 SO_REUSEPORT #5365

fengmk2 opened this issue Oct 25, 2024 · 3 comments · May be fixed by eggjs/egg-cluster#115
Assignees

Comments

@fengmk2
Copy link
Member

fengmk2 commented Oct 25, 2024

https://zhuanlan.zhihu.com/p/2583702022?utm_psn=1833075430833389568

使用方式

egg.startCluster({
  workers,
  baseDir: __dirname,
  port: 7001,
  reusePort: true,
});
@fengmk2
Copy link
Member Author

fengmk2 commented Oct 26, 2024

@fengmk2
Copy link
Member Author

fengmk2 commented Oct 26, 2024

@fengmk2
Copy link
Member Author

fengmk2 commented Oct 26, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant