Skip to content

Commit

Permalink
fix锛歶se this.options instead of this._options
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-horse committed Nov 8, 2017
1 parent fd1ff63 commit 8518101
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion lib/egg.js
Expand Up @@ -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,
Expand Down
28 changes: 14 additions & 14 deletions package.json
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 8518101

Please sign in to comment.