diff --git a/api/results.go b/api/results.go index 017092851134a65d9635399b79346fe100aef839..4a31b66b525e60037479ac4042017b21cfece313 100644 --- a/api/results.go +++ b/api/results.go @@ -93,6 +93,8 @@ func (c *Client) getRoundResults(roundList []id.Round, timeout time.Duration, oldestRound := networkInstance.GetOldestRoundID() + // Set a lower timeout so there is room for retries, + // while ensuring it does not go too low and cause too many timeouts roundEventTimeout := 5 * time.Second if timeout < roundEventTimeout { roundEventTimeout = timeout