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

feat: give high priority to closeChan #41

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

miles-ton
Copy link

@miles-ton miles-ton commented May 21, 2022

give more priority to closeChan. Because select will randomly select one when multiple channel available,
when many closeChan and reqChan come at the same time in extreme cases, giving high priority to closeChan
to prevent closeChan to be ignored all the time

@miles-ton
Copy link
Author

miles-ton commented May 21, 2022

@Jeffail hi jeff , could you help to review this PR

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