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

fix: break out of correct loop when slow subscribers #11730

Merged
merged 1 commit into from
Oct 7, 2024

Conversation

wwestgarth
Copy link
Contributor

The issue was that the break in the select statement wasn't breaking out of the loop that was sending in the candles. So in the case where len(candles) > 1 if we had a slow consumer, we'd send in candle 2 straight into the channel we just closed.

@wwestgarth wwestgarth self-assigned this Oct 3, 2024
@wwestgarth wwestgarth requested a review from a team as a code owner October 3, 2024 16:03
@jeremyletang jeremyletang merged commit ba1d73a into develop Oct 7, 2024
15 checks passed
@jeremyletang jeremyletang deleted the candle-thing branch October 7, 2024 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants