Retrieve database credentials from jobs stored in redis

This commit is contained in:
Daniel García Aubert 2018-02-15 12:31:08 +01:00
parent 67f2a85abd
commit e2b8fa9e22

View File

@ -82,7 +82,12 @@ JobBackend.prototype.get = function (job_id, callback) {
'updated_at',
'host',
'failed_reason',
'fallback_status'
'fallback_status',
'host',
'port',
'pass',
'dbname',
'dbuser'
];
self.metadataBackend.redisCmd(REDIS_DB, 'HMGET', redisParams , function (err, redisValues) {