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

AsyncBlock: Add buffer to async block channel #18

Merged
merged 1 commit into from
Sep 9, 2024

Conversation

noseglid
Copy link
Member

@noseglid noseglid commented Sep 9, 2024

There's no need to keep the matcher blocked until the channel is read. The channel is intended as a signal only, but if it's not read we don't want that goroutine to stick around forever.

Copy link
Contributor

@niklasembretsen niklasembretsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no need to keep the matcher blocked until the channel is read.
The channel is intended as a signal only, but if it's not read we don't
want that goroutine to stick around forever.
@noseglid noseglid merged commit 3e57737 into master Sep 9, 2024
1 check passed
@noseglid noseglid deleted the asyncblock-with-buffer branch September 9, 2024 07:49
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.

2 participants