From e8435e3eaebb0f7f0cdaa9c5a3a66c0d9b1ea358 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Fri, 8 Sep 2017 13:39:24 +0100 Subject: [PATCH] make condition clearer for incremental compile --- services/web/app/coffee/Features/Compile/ClsiManager.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/app/coffee/Features/Compile/ClsiManager.coffee b/services/web/app/coffee/Features/Compile/ClsiManager.coffee index 2b5b8195df..7474341e64 100755 --- a/services/web/app/coffee/Features/Compile/ClsiManager.coffee +++ b/services/web/app/coffee/Features/Compile/ClsiManager.coffee @@ -137,7 +137,7 @@ module.exports = ClsiManager = else logger.log project_id: project_id, projectStateHash: projectStateHash, docs: docUpdaterDocs?, "checked project state" # see if we can send an incremental update to the CLSI - if docUpdaterDocs? and options.syncType isnt "full" and not error? + if docUpdaterDocs? and (options.syncType isnt "full") and not error? # Workaround: for now, always flush project to mongo on compile # until we have automatic periodic flushing on the docupdater # side, to prevent documents staying in redis too long.