larvituser
Advanced tools
Comparing version 0.17.3 to 0.17.4
@@ -362,8 +362,19 @@ 'use strict'; | ||
tasks.push(function (cb) { | ||
that.log.debug(logPrefix + 'Waiting for intercom.ready()'); | ||
that.intercom.ready(cb); | ||
}); | ||
tasks.push(function (cb) { | ||
that.log.debug(logPrefix + 'Waiting for db.ready()'); | ||
that.db.ready(cb); | ||
}); | ||
tasks.push(function (cb) { | ||
if (that.mode === 'slave') { | ||
that.log.verbose(logPrefix + 'that.mode: "' + that.mode + '", so read'); | ||
new amsync.SyncClient({ | ||
amsync.mariadb({ | ||
'exchange': that.exchangeName + '_dataDump', | ||
'intercom': that.intercom, | ||
'log': that.log | ||
'log': that.log, | ||
'db': that.db | ||
}, cb); | ||
@@ -370,0 +381,0 @@ } else { |
{ | ||
"name": "larvituser", | ||
"version": "0.17.3", | ||
"version": "0.17.4", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "name": "Mikael 'Lilleman' Göransson", |
88619
2332