had to set an explicit -socket path- in cluster.js to work on dev VM, set to /tmp
This commit is contained in:
parent
44d62e43b9
commit
622d5658f1
@ -26,6 +26,8 @@ var env = require(__dirname + '/config/environments/' + ENV)
|
|||||||
_.extend(global.settings, env);
|
_.extend(global.settings, env);
|
||||||
|
|
||||||
cluster('./app/controllers/app')
|
cluster('./app/controllers/app')
|
||||||
|
.set('workers', 2)
|
||||||
|
.set('socket path', '/tmp')
|
||||||
.use(cluster.logger('logs'))
|
.use(cluster.logger('logs'))
|
||||||
.use(cluster.stats())
|
.use(cluster.stats())
|
||||||
.use(cluster.pidfiles('pids'))
|
.use(cluster.pidfiles('pids'))
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
"description": "high speed SQL api for cartodb",
|
"description": "high speed SQL api for cartodb",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"cluster": "0.6.4",
|
"cluster": "0.6.9",
|
||||||
"express": "2.4.3",
|
"express": "2.4.3",
|
||||||
"underscore" : "1.1.x",
|
"underscore" : "1.1.x",
|
||||||
"underscore.string": "1.1.5",
|
"underscore.string": "1.1.5",
|
||||||
|
Loading…
Reference in New Issue
Block a user