From cf718ac33c0beaea4b3cfab17d190adf988e9d4d Mon Sep 17 00:00:00 2001 From: syntrust Date: Wed, 18 Sep 2024 18:41:34 +0800 Subject: [PATCH 1/2] extend timeout --- ethstorage/node/eth_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethstorage/node/eth_api.go b/ethstorage/node/eth_api.go index 0b4271a9..d4681ae9 100644 --- a/ethstorage/node/eth_api.go +++ b/ethstorage/node/eth_api.go @@ -22,7 +22,7 @@ type ethAPI struct { } const ( - defaultCallTimeout = 2 * time.Second + defaultCallTimeout = 5 * time.Second ) var ( From 53ac03c6bb521c06934f5bcd5913e4c2bd7e72bf Mon Sep 17 00:00:00 2001 From: syntrust Date: Wed, 18 Sep 2024 18:42:42 +0800 Subject: [PATCH 2/2] extend timeout --- ethstorage/node/eth_api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ethstorage/node/eth_api.go b/ethstorage/node/eth_api.go index d4681ae9..864e1075 100644 --- a/ethstorage/node/eth_api.go +++ b/ethstorage/node/eth_api.go @@ -22,7 +22,7 @@ type ethAPI struct { } const ( - defaultCallTimeout = 5 * time.Second + defaultCallTimeout = 10 * time.Second ) var (