mirror of
https://github.com/eggjs/egg.git
synced 2024-12-04 07:14:30 +00:00
fix: use this.options instead of this._options (#1625)
This commit is contained in:
parent
fd1ff63892
commit
9eec677757
@ -89,7 +89,7 @@ class EggApplication extends EggCore {
|
||||
this.cluster = (clientClass, options) => {
|
||||
options = Object.assign({}, this.config.clusterClient, options, {
|
||||
// cluster need a port that can't conflict on the environment
|
||||
port: this._options.clusterPort,
|
||||
port: this.options.clusterPort,
|
||||
// agent worker is leader, app workers are follower
|
||||
isLeader: this.type === 'agent',
|
||||
logger: this.coreLogger,
|
||||
|
||||
28
package.json
28
package.json
@ -20,19 +20,19 @@
|
||||
"agentkeepalive": "^3.3.0",
|
||||
"cluster-client": "^1.7.1",
|
||||
"co": "^4.6.0",
|
||||
"debug": "^3.0.1",
|
||||
"debug": "^3.1.0",
|
||||
"delegates": "^1.0.0",
|
||||
"egg-cluster": "^1.12.1",
|
||||
"egg-cluster": "^1.12.4",
|
||||
"egg-cookies": "^2.2.1",
|
||||
"egg-core": "^3.13.1",
|
||||
"egg-development": "^1.3.1",
|
||||
"egg-core": "^3.18.0",
|
||||
"egg-development": "^1.3.2",
|
||||
"egg-i18n": "^1.2.0",
|
||||
"egg-jsonp": "^1.1.2",
|
||||
"egg-jsonp": "^1.2.1",
|
||||
"egg-logger": "^1.6.0",
|
||||
"egg-logrotator": "^2.2.3",
|
||||
"egg-multipart": "^1.5.0",
|
||||
"egg-logrotator": "^2.3.0",
|
||||
"egg-multipart": "^1.5.1",
|
||||
"egg-onerror": "^1.5.0",
|
||||
"egg-schedule": "^2.4.1",
|
||||
"egg-schedule": "^2.6.0",
|
||||
"egg-security": "^1.12.1",
|
||||
"egg-session": "^2.1.1",
|
||||
"egg-static": "^1.4.1",
|
||||
@ -47,23 +47,23 @@
|
||||
"koa-override": "^2.0.0",
|
||||
"mime-types": "^2.1.17",
|
||||
"sendmessage": "^1.1.0",
|
||||
"urllib": "^2.25.0",
|
||||
"utility": "^1.12.0",
|
||||
"urllib": "^2.25.1",
|
||||
"utility": "^1.13.1",
|
||||
"ylru": "^1.2.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"address": "^1.0.3",
|
||||
"autod": "^2.9.0",
|
||||
"autod": "^2.10.1",
|
||||
"autod-egg": "^1.0.0",
|
||||
"coffee": "^4.1.0",
|
||||
"egg-alinode": "^1.0.3",
|
||||
"egg-bin": "^4.3.3",
|
||||
"egg-bin": "^4.3.5",
|
||||
"egg-doctools": "^2.1.0",
|
||||
"egg-mock": "^3.12.2",
|
||||
"egg-mock": "^3.13.1",
|
||||
"egg-plugin-puml": "^2.4.0",
|
||||
"egg-tracer": "^1.1.0",
|
||||
"egg-view-nunjucks": "^2.1.4",
|
||||
"eslint": "^4.7.2",
|
||||
"eslint": "^4.10.0",
|
||||
"eslint-config-egg": "^5.1.1",
|
||||
"findlinks": "^1.1.0",
|
||||
"formstream": "^1.1.0",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user