mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
increase pack migrate delay to 2 seconds
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user