From 29c812cece79ae3458ab17fa330a0e1509ba29ba Mon Sep 17 00:00:00 2001 From: Henry Oswald Date: Fri, 16 Oct 2015 12:57:05 +0100 Subject: [PATCH] moved the build opts down --- services/docstore/app/coffee/HealthChecker.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/docstore/app/coffee/HealthChecker.coffee b/services/docstore/app/coffee/HealthChecker.coffee index c5ee4bc57e..aa3ef60108 100644 --- a/services/docstore/app/coffee/HealthChecker.coffee +++ b/services/docstore/app/coffee/HealthChecker.coffee @@ -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)->