mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
added log line
This commit is contained in:
parent
08723f8972
commit
3bc4cb492a
1 changed files with 1 additions and 0 deletions
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue