added log line

This commit is contained in:
Henry Oswald 2019-02-07 16:27:52 +00:00
parent 08723f8972
commit 3bc4cb492a

View file

@ -16,6 +16,7 @@ module.exports = DispatchManager =
_waitForUpdateThenDispatchWorker: (callback = (error) ->) ->
timer = new Metrics.Timer "worker.waiting"
worker.client.blpop "pending-updates-list", 0, (error, result) ->
logger.log("getting pending-updates-list", error, result)
timer.done()
return callback(error) if error?
return callback() if !result?