Skip to content
Permalink
Browse files

fix(elasticsearch): crash on rebuild

  • Loading branch information...
polonel committed Apr 19, 2019
1 parent 2946d07 commit bc0728b643bd2a91b1b13541d1d01da3aeac4277
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/elasticsearch/rebuildIndexChild.js
@@ -375,8 +375,7 @@ function rebuild (callback) {

// Kill it in 10sec to offset refresh timers
setTimeout(function () {
process.send({ success: true })
return process.kill(0)
return process.send({ success: true })
}, 6000)
})
})()

0 comments on commit bc0728b

Please sign in to comment.
You can’t perform that action at this time.