mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 06:53:41 -05:00
Merge pull request #9141 from overleaf/bg-disable-track-changes-2
disable flush to track-changes in docupdater GitOrigin-RevId: d5ff12d4755783af0a3f71939c07994d43b9d740
This commit is contained in:
parent
982897dcb9
commit
805ac00090
1 changed files with 4 additions and 0 deletions
|
@ -30,6 +30,10 @@ module.exports = HistoryManager = {
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if (Settings.disableTrackChanges) {
|
||||||
|
logger.debug({ doc_id }, 'track changes is disabled, so not flushing')
|
||||||
|
return
|
||||||
|
}
|
||||||
return RedisManager.getHistoryType(
|
return RedisManager.getHistoryType(
|
||||||
doc_id,
|
doc_id,
|
||||||
function (err, projectHistoryType) {
|
function (err, projectHistoryType) {
|
||||||
|
|
Loading…
Reference in a new issue