updated production settings

This commit is contained in:
Simon Tokumine 2011-09-13 21:51:51 -06:00
parent 1cabf0e836
commit 3d3ea9902e
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
module.exports.name = 'production';
module.exports.postgres = {user: 'publicuser', host: '10.211.14.63', port: 6543};
module.exports.redis = {host: '10.211.14.63', port: 6379};
module.exports.windshaft_port = 8080;
module.exports.postgres = {user: 'publicuser', host: '127.0.0.1', port: 6432};
module.exports.redis = {host: '127.0.0.1', port: 6379};
module.exports.windshaft_port = 8181;

View File

@ -89,7 +89,7 @@ module.exports = function() {
function(){
that.getDatabase(req, this);
},
function(err, data){
function(err, data) {
if (err) throw err;
var redisKey = _.template(that.table_key, {database_name: data, table_name: req.params.table});