mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 06:33:55 +01:00
Merge pull request #5826 from overleaf/bg-use-resync-path
[document-updater] use paths from project structure update in resync GitOrigin-RevId: 6ed2a48da76553e2fe5d0d3ec8da535515a35110
This commit is contained in:
@@ -242,8 +242,14 @@ module.exports = HistoryManager = {
|
||||
return callback(error)
|
||||
}
|
||||
const DocumentManager = require('./DocumentManager')
|
||||
const resyncDoc = (doc, cb) =>
|
||||
DocumentManager.resyncDocContentsWithLock(project_id, doc.doc, cb)
|
||||
const resyncDoc = (doc, cb) => {
|
||||
DocumentManager.resyncDocContentsWithLock(
|
||||
project_id,
|
||||
doc.doc,
|
||||
doc.path,
|
||||
cb
|
||||
)
|
||||
}
|
||||
return async.eachLimit(
|
||||
docs,
|
||||
HistoryManager.MAX_PARALLEL_REQUESTS,
|
||||
|
||||
Reference in New Issue
Block a user