Bump tor timeout to 120 seconds (#4723)

This commit is contained in:
Chris Stewart 2022-09-06 16:41:45 -05:00 committed by GitHub
parent 6b432ea509
commit 1571b85819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -178,7 +178,7 @@ case class TorAppConfig(
//tor can take at least 25 seconds to start at times
//see: https://github.com/bitcoin-s/bitcoin-s/pull/3558#issuecomment-899819698
AsyncUtil
.retryUntilSatisfied(checkIfLogExists, 1.second, 60)
.retryUntilSatisfied(checkIfLogExists, 1.second, 120)
//execute started callbacks
.flatMap(_ => callBacks.executeOnTorStarted())
.recover { case _: AsyncUtil.RpcRetryException =>