From 3d3ea9902e022b9722433b2f309b47122d9b125d Mon Sep 17 00:00:00 2001 From: Simon Tokumine Date: Tue, 13 Sep 2011 21:51:51 -0600 Subject: [PATCH] updated production settings --- config/environments/production.js | 6 +++--- lib/cartodb/carto_data.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/environments/production.js b/config/environments/production.js index 348db13d..88f417b8 100644 --- a/config/environments/production.js +++ b/config/environments/production.js @@ -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; \ No newline at end of file +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; \ No newline at end of file diff --git a/lib/cartodb/carto_data.js b/lib/cartodb/carto_data.js index f4a3a34f..06dc2ce7 100644 --- a/lib/cartodb/carto_data.js +++ b/lib/cartodb/carto_data.js @@ -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});