Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamline round timeouts #50

Merged
merged 3 commits into from
Nov 29, 2024
Merged

Streamline round timeouts #50

merged 3 commits into from
Nov 29, 2024

Conversation

pool2win
Copy link
Owner

No more sleeps!

In the best case outcome, we end round as soon as messages from all parties have been received.

If some fail, we wait for the timeout to expire and the rounds take longer then. The round period is a constant atm, can move this to config, if needed.

Also increase the channel buffer to 2 to allow for round completion
on both sends and receives
@pool2win pool2win merged commit 8b92555 into main Nov 29, 2024
10 checks passed
@pool2win pool2win deleted the streamline-round-timeouts branch November 29, 2024 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant