Added postgres default port

This commit is contained in:
Daniel García Aubert 2015-12-23 18:59:43 +01:00
parent a1a8581a47
commit 15d76f7cc7

View File

@ -22,7 +22,7 @@ UserDatabaseMetadataService.prototype.parseMetadaToDatabase = function (userData
var dbParams = userDatabaseMetadata; var dbParams = userDatabaseMetadata;
var dbopts = { var dbopts = {
port: global.settings.db_batch_port, port: global.settings.db_batch_port || 6432,
pass: global.settings.db_pubuser_pass pass: global.settings.db_pubuser_pass
}; };