mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
make condition clearer for incremental compile
This commit is contained in:
parent
03a5ff2e43
commit
e8435e3eae
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue