mirror of
https://github.com/overleaf/overleaf.git
synced 2025-03-03 12:31:43 +00:00
require underscore
This commit is contained in:
parent
88b75b8baa
commit
670ce61da1
1 changed files with 2 additions and 1 deletions
|
@ -2,6 +2,7 @@ Metrics = require("metrics-sharelatex")
|
|||
Settings = require "settings-sharelatex"
|
||||
Metrics.initialize(Settings.appName or "real-time")
|
||||
async = require("async")
|
||||
_ = require "underscore"
|
||||
|
||||
logger = require "logger-sharelatex"
|
||||
logger.initialize("real-time")
|
||||
|
@ -145,7 +146,7 @@ if Settings.continualPubsubTraffic
|
|||
if err?
|
||||
logger.err {err, channel}, "error publishing pubsub traffic to redis"
|
||||
return cb(err)
|
||||
|
||||
|
||||
async.series jobs, callback
|
||||
|
||||
runPubSubTraffic = ->
|
||||
|
|
Loading…
Reference in a new issue