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

opt: clamp the event-loops in ET mode to avaoid starving #599

Merged
merged 2 commits into from
May 1, 2024
Merged

Conversation

panjf2000
Copy link
Owner

No description provided.

@github-actions github-actions bot added the enhancement New feature or request label Apr 30, 2024
@panjf2000 panjf2000 added pending merged This PR has been reviewed and approved optimization Some small optimizations OS-Linux performance labels Apr 30, 2024
Copy link

codecov bot commented Apr 30, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 11 lines in your changes are missing coverage. Please review.

Project coverage is 79.14%. Comparing base (4c3b84f) to head (06f0fcd).

Files Patch % Lines
eventloop_unix.go 52.94% 6 Missing and 2 partials ⚠️
connection_linux.go 50.00% 1 Missing and 1 partial ⚠️
connection_bsd.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #599      +/-   ##
==========================================
- Coverage   79.64%   79.14%   -0.51%     
==========================================
  Files          21       21              
  Lines        2098     2110      +12     
==========================================
- Hits         1671     1670       -1     
- Misses        294      305      +11     
- Partials      133      135       +2     
Flag Coverage Δ
unittests 79.14% <50.00%> (-0.51%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@panjf2000 panjf2000 merged commit f03f0bd into dev May 1, 2024
33 of 35 checks passed
@panjf2000 panjf2000 deleted the et-opt branch May 1, 2024 02:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request optimization Some small optimizations OS-Linux pending merged This PR has been reviewed and approved performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant