Skip to content
Snippets Groups Projects
Commit 91358dcb authored by Jake Taylor's avatar Jake Taylor
Browse files

comment

parent ff63001b
No related branches found
No related tags found
2 merge requests!117Release,!106fix getroundinfo timeout
...@@ -93,6 +93,8 @@ func (c *Client) getRoundResults(roundList []id.Round, timeout time.Duration, ...@@ -93,6 +93,8 @@ func (c *Client) getRoundResults(roundList []id.Round, timeout time.Duration,
oldestRound := networkInstance.GetOldestRoundID() 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 roundEventTimeout := 5 * time.Second
if timeout < roundEventTimeout { if timeout < roundEventTimeout {
roundEventTimeout = timeout roundEventTimeout = timeout
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment