mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
moved the build opts down
This commit is contained in:
parent
4f5669591a
commit
29c812cece
1 changed files with 1 additions and 1 deletions
|
@ -10,11 +10,11 @@ logger = require "logger-sharelatex"
|
|||
|
||||
module.exports =
|
||||
check : (callback)->
|
||||
getOpts = -> {url:url, timeout:3000}
|
||||
doc_id = ObjectId()
|
||||
project_id = ObjectId(settings.docstore.healthCheck.project_id)
|
||||
url = "http://localhost:#{port}/project/#{project_id}/doc/#{doc_id}"
|
||||
lines = ["smoke test - delete me", "#{crypto.randomBytes(32).toString("hex")}"]
|
||||
getOpts = -> {url:url, timeout:3000}
|
||||
logger.log lines:lines, url:url, doc_id:doc_id, project_id:project_id, "running health check"
|
||||
jobs = [
|
||||
(cb)->
|
||||
|
|
Loading…
Reference in a new issue