mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
fix pack migration to run sequentially not in parallel
This commit is contained in:
parent
ff7860b6dc
commit
09e24413e6
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ packDocHistory = (doc_id, callback) ->
|
||||||
|
|
||||||
util.log "docs #{origDocs} packs #{packs.length}"
|
util.log "docs #{origDocs} packs #{packs.length}"
|
||||||
if packs.length
|
if packs.length
|
||||||
async.each packs, insertPack, (err, result) ->
|
async.eachSeries packs, insertPack, (err, result) ->
|
||||||
if err?
|
if err?
|
||||||
console.log doc_id, err
|
console.log doc_id, err
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue