mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-30 05:42:15 -05:00
increase pack migrate delay to 2 seconds
This commit is contained in:
parent
09e24413e6
commit
34fa398cf6
1 changed files with 3 additions and 1 deletions
|
@ -29,7 +29,9 @@ insertPack = (packObj, callback) ->
|
||||||
if err? or result.nInserted != expect_nInserted or result.nRemoved != expect_nRemoved
|
if err? or result.nInserted != expect_nInserted or result.nRemoved != expect_nRemoved
|
||||||
console.log err, result
|
console.log err, result
|
||||||
console.log 'nInserted', result.nInserted, 'nRemoved', result.nRemoved
|
console.log 'nInserted', result.nInserted, 'nRemoved', result.nRemoved
|
||||||
|
setTimeout () ->
|
||||||
callback(err, result)
|
callback(err, result)
|
||||||
|
, 2000
|
||||||
|
|
||||||
packDocHistory = (doc_id, callback) ->
|
packDocHistory = (doc_id, callback) ->
|
||||||
util.log "starting pack operation for #{doc_id}"
|
util.log "starting pack operation for #{doc_id}"
|
||||||
|
|
Loading…
Reference in a new issue