diff --git a/services/track-changes/pack.coffee b/services/track-changes/pack.coffee index 0b4703a057..8d31329ffb 100644 --- a/services/track-changes/pack.coffee +++ b/services/track-changes/pack.coffee @@ -29,7 +29,9 @@ insertPack = (packObj, callback) -> if err? or result.nInserted != expect_nInserted or result.nRemoved != expect_nRemoved console.log err, result console.log 'nInserted', result.nInserted, 'nRemoved', result.nRemoved - callback(err, result) + setTimeout () -> + callback(err, result) + , 2000 packDocHistory = (doc_id, callback) -> util.log "starting pack operation for #{doc_id}"