Fix: Increase reconnection attempts when waking the app.
Based on recent logs, reconnecting seems to be the right thing to do so try it for longer and see if that helps.
This commit is contained in:
parent
81266f01e5
commit
d5456f078d
|
@ -82,7 +82,7 @@ open class CompactBlockDownloader private constructor(val compactBlockStore: Com
|
|||
try {
|
||||
result = lightWalletService.getServerInfo()
|
||||
} catch (e: StatusRuntimeException) {
|
||||
retryUpTo(2) {
|
||||
retryUpTo(6) {
|
||||
twig("WARNING: reconnecting to service in response to failure (retry #${it + 1}): $e")
|
||||
lightWalletService.reconnect()
|
||||
result = lightWalletService.getServerInfo()
|
||||
|
|
Loading…
Reference in New Issue