From 65442bff0d86a7732be10613bf8dd53b79891216 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=BDiga=20Kokelj?= Date: Fri, 9 Aug 2024 10:11:41 +0200 Subject: [PATCH] increase new heads timeout --- tools/walletextension/rpcapi/wallet_extension.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/walletextension/rpcapi/wallet_extension.go b/tools/walletextension/rpcapi/wallet_extension.go index fae47871f7..518dd3c29b 100644 --- a/tools/walletextension/rpcapi/wallet_extension.go +++ b/tools/walletextension/rpcapi/wallet_extension.go @@ -147,7 +147,7 @@ func subscribeToNewHeadsWithRetry(ch chan *tencommon.BatchHeader, services Servi } return err }, - retry.NewTimeoutStrategy(10*time.Minute, 1*time.Second), + retry.NewTimeoutStrategy(20*time.Minute, 1*time.Second), ) if err != nil { logger.Error("could not subscribe for new head blocks.", log.ErrKey, err)