From 91358dcbe53a2dd7ddd103b9fdabcddf9ec6f30f Mon Sep 17 00:00:00 2001
From: Jake Taylor <jake@elixxir.io>
Date: Wed, 29 Dec 2021 13:57:23 -0600
Subject: [PATCH] comment

---
 api/results.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/api/results.go b/api/results.go
index 017092851..4a31b66b5 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
-- 
GitLab