Skip to content

Commit

Permalink
Fixes, made permissions work at basic level
Browse files Browse the repository at this point in the history
  • Loading branch information
cliftonc committed Apr 9, 2012
1 parent 5847458 commit cd81665
Show file tree
Hide file tree
Showing 39 changed files with 1,447 additions and 1,136 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function bootApplication(next) {
app.isCluster = false;

// Load configuration
var Config = require(path + "/lib/Config").Config;
var Config = calipso.config; //require(path + "/lib/core/Config").Config;
app.config = new Config();
app.config.init();

Expand Down
3 changes: 2 additions & 1 deletion cluster.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function launchServer() {


// Load configuration
var Config = require(rootpath + "lib/Config").Config,
var Config = require(rootpath + "lib/core/Config"),
config = new Config();
config.init();

Expand All @@ -48,6 +48,7 @@ function launchServer() {
totalWorkers = config.get('server:cluster:workers') || argv.c;

// Fork workers based on num cpus
console.log("Loading ".green + totalWorkers + " workers, please wait ...".green);
for (var i = 0; i < totalWorkers; i++) {
forkWorker();
}
Expand Down
Loading

0 comments on commit cd81665

Please sign in to comment.