From 243d231fe45bc02f33678bb4f69e941167d7f466 Mon Sep 17 00:00:00 2001 From: builder90210 Date: Thu, 8 Dec 2022 00:30:10 -0800 Subject: [PATCH] Reduce txArriveTimeout to 100ms --- eth/fetcher/tx_fetcher.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eth/fetcher/tx_fetcher.go b/eth/fetcher/tx_fetcher.go index b10c0db9eec0..8b97746b1483 100644 --- a/eth/fetcher/tx_fetcher.go +++ b/eth/fetcher/tx_fetcher.go @@ -55,11 +55,11 @@ const ( // txArriveTimeout is the time allowance before an announced transaction is // explicitly requested. - txArriveTimeout = 500 * time.Millisecond + txArriveTimeout = 100 * time.Millisecond // txGatherSlack is the interval used to collate almost-expired announces // with network fetches. - txGatherSlack = 100 * time.Millisecond + txGatherSlack = 20 * time.Millisecond ) var (