mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-04 06:39:02 +02:00
added log line
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user