| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 1c65f1e commit cde3014
3 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -31,5 +31,5 @@ if (cluster.isMaster) { | |||
| 31 | 31 | } | |
| 32 | 32 | } else { | |
| 33 | 33 | var server = http.createServer(handleRequest); | |
| 34 | - server.listen(common.PORT+1000); | ||
| 34 | + server.listen(common.PORT); | ||
| 35 | 35 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ const common = require('../common'); | |||
| 3 | 3 | const assert = require('assert'); | |
| 4 | 4 | const spawn = require('child_process').spawn; | |
| 5 | 5 | ||
| 6 | - const PORT_MIN = common.PORT; | ||
| 6 | + const PORT_MIN = common.PORT + 1; // The fixture uses common.PORT. | ||
| 7 | 7 | const PORT_MAX = PORT_MIN + 2; | |
| 8 | 8 | ||
| 9 | 9 | const args = [ | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3,7 +3,7 @@ var common = require('../common'); | |||
| 3 | 3 | var assert = require('assert'); | |
| 4 | 4 | var spawn = require('child_process').spawn; | |
| 5 | 5 | ||
| 6 | - var port = common.PORT + 42; | ||
| 6 | + var port = common.PORT + 1; // The fixture uses common.PORT. | ||
| 7 | 7 | var args = ['--debug-port=' + port, | |
| 8 | 8 | common.fixturesDir + '/clustered-server/app.js']; | |
| 9 | 9 | var options = { stdio: ['inherit', 'inherit', 'pipe', 'ipc'] }; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments