Skip to content

Commit

Permalink
Merge pull request #2 from JarvusInnovations/fix-v6
Browse files Browse the repository at this point in the history
Node.js v6 fixes
  • Loading branch information
jmealo committed Apr 27, 2016
2 parents 5a1573e + 9712771 commit 16dca91
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion node-services/spark-realtime/middleware/session.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict';

function ioSession(options) {
options = Object.assign({
options = Object.assign({}, {
sessionHeaderName: 'session',
requiredKeys: null,
validationFn: null,
Expand Down
8 changes: 5 additions & 3 deletions node-services/spark-realtime/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@
"description": "realtime event streaming",
"version": "0.0.1",
"dependencies": {
"nats": "^0.4.4",
"request": "^2.65.0",
"socket.io": "^1.3.7"
"nats": "^0.6.2",
"pg": "github:ignitenet-martynas/node-postgres",
"pg-native": "^1.10.0",
"request": "^2.72.0",
"socket.io": "^1.4.5"
}
}
1 change: 1 addition & 0 deletions node-services/spark-realtime/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,6 @@ function spawnWorker(config) {
workers = config.workers.map(function(worker) {
console.log(`[${worker.schema}] Spawning worker on ${worker.port}`);
worker.slack = config.slack;
worker.middleware = config.middleware;
return spawnWorker(worker);
});

0 comments on commit 16dca91

Please sign in to comment.