-
Notifications
You must be signed in to change notification settings - Fork 2
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
feat: singleMode for default, and clusterMode in Egg.js #10
Conversation
@@ -29,6 +29,7 @@ class ZookeeperAPIClient extends APIClientBase { | |||
} | |||
get clusterOptions() { | |||
return { | |||
singleMode: true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
默认是单进程,在 Egg.js 里来判断是否开启多进程模式。
因为其实我们对 cluster 模式是有要求的(进程要对等),如果默认多进程模式的话可能会引起一些奇怪的咨询问题
Codecov Report
@@ Coverage Diff @@
## master #10 +/- ##
=======================================
Coverage 94.31% 94.31%
=======================================
Files 4 4
Lines 264 264
=======================================
Hits 249 249
Misses 15 15
Continue to review full report at Codecov.
|
@gxcsoccer breaking change 么? |
@fengmk2 嗯,算 breaking 了,发大版本吧 |
@gxcsoccer 好,你直接发 major 吧。 |
3.0.0 |
No description provided.