Reduce txArriveTimeout to 100ms

This commit is contained in:
builder90210 2022-12-08 00:30:10 -08:00
parent 50a778207e
commit 243d231fe4

View file

@ -55,11 +55,11 @@ const (
// txArriveTimeout is the time allowance before an announced transaction is // txArriveTimeout is the time allowance before an announced transaction is
// explicitly requested. // explicitly requested.
txArriveTimeout = 500 * time.Millisecond txArriveTimeout = 100 * time.Millisecond
// txGatherSlack is the interval used to collate almost-expired announces // txGatherSlack is the interval used to collate almost-expired announces
// with network fetches. // with network fetches.
txGatherSlack = 100 * time.Millisecond txGatherSlack = 20 * time.Millisecond
) )
var ( var (