From 09e24413e61b40a9e2f9c9c06c1c47f06c617106 Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Mon, 23 Feb 2015 17:00:43 +0000 Subject: [PATCH] fix pack migration to run sequentially not in parallel --- services/track-changes/pack.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/track-changes/pack.coffee b/services/track-changes/pack.coffee index 461174ab77..0b4703a057 100644 --- a/services/track-changes/pack.coffee +++ b/services/track-changes/pack.coffee @@ -66,7 +66,7 @@ packDocHistory = (doc_id, callback) -> util.log "docs #{origDocs} packs #{packs.length}" if packs.length - async.each packs, insertPack, (err, result) -> + async.eachSeries packs, insertPack, (err, result) -> if err? console.log doc_id, err else