mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
added a time delay to the pack migration script
This commit is contained in:
parent
b19f3835d5
commit
ff7860b6dc
1 changed files with 3 additions and 1 deletions
|
@ -105,7 +105,9 @@ readFile todoFile, (err, todo) ->
|
|||
fs.appendFileSync doneFile, doc_id + '\n'
|
||||
if shutdownRequested
|
||||
return callback('shutdown')
|
||||
callback(err, result)
|
||||
setTimeout () ->
|
||||
callback(err, result)
|
||||
, 1000
|
||||
, (err, results) ->
|
||||
if err?
|
||||
console.log 'error:', err
|
||||
|
|
Loading…
Reference in a new issue