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/PA-23889 give buffer size to the channels #15

Merged
merged 3 commits into from
Nov 3, 2023
Merged

Conversation

rafet
Copy link
Collaborator

@rafet rafet commented Nov 2, 2023

When we don't listen the errChannel, the goroutine stucks in this line

s.errChannel <- err

Because of the optionality of using error channel, we need to set a buffer size.

@rafet rafet requested a review from sezaakgun as a code owner November 2, 2023 13:36
@rafet rafet self-assigned this Nov 2, 2023
@sezaakgun sezaakgun merged commit b6eac8c into develop Nov 3, 2023
@sezaakgun sezaakgun deleted the fix/PA-23889 branch November 3, 2023 08:07
@sezaakgun sezaakgun mentioned this pull request Nov 3, 2023
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.

None yet

3 participants