Skip to content

Commit

Permalink
Merge pull request #571 from thanhson1085/master
Browse files Browse the repository at this point in the history
retry updateSignerPenAndStatus if failed
  • Loading branch information
thanhson1085 authored Mar 20, 2019
2 parents 981b673 + 2e70b67 commit f82f2a5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crawl.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,8 @@ async function updateSignerPenAndStatus () {
logger.error('updateSignerAndPen %s', e)
web3 = new Web3Ws()
validator = new Validator(web3)
await sleep(10000)
return updateSignerPenAndStatus()
}
}

Expand Down

0 comments on commit f82f2a5

Please sign in to comment.