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 flusher thread 100% cpu usage #94

Merged
merged 1 commit into from
Sep 15, 2021
Merged

Fix flusher thread 100% cpu usage #94

merged 1 commit into from
Sep 15, 2021

Conversation

leishiao
Copy link

@leishiao leishiao commented Sep 15, 2021

when _ is used, the sender of the channel is dropped immediately, causing recv_timeout returns an error immediately, then cpu usage is 100%.

@emabee emabee merged commit 911813d into emabee:master Sep 15, 2021
@emabee
Copy link
Owner

emabee commented Sep 15, 2021

Good catch, thanks!

emabee added a commit that referenced this pull request Sep 15, 2021
	- minor stuff
@emabee
Copy link
Owner

emabee commented Sep 18, 2021

Is shipped now with 0.19.4

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