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

Use Concurrent.available_processor_count instead of Concurrent.usable_processor_count #2358

Merged
merged 1 commit into from
Aug 11, 2024

Conversation

heka1024
Copy link
Contributor

Description

@heka1024
Copy link
Contributor Author

cc. @st0012

@st0012 st0012 self-requested a review August 5, 2024 22:26
Copy link

codecov bot commented Aug 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.77%. Comparing base (09f348e) to head (c9a8ff0).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2358      +/-   ##
==========================================
+ Coverage   98.68%   98.77%   +0.09%     
==========================================
  Files         207      196      -11     
  Lines       13741    13241     -500     
==========================================
- Hits        13560    13079     -481     
+ Misses        181      162      -19     
Components Coverage Δ
sentry-ruby 99.06% <100.00%> (+0.01%) ⬆️
sentry-rails 97.41% <ø> (ø)
sentry-sidekiq ∅ <ø> (∅)
sentry-resque 96.79% <ø> (ø)
sentry-delayed_job 98.92% <ø> (ø)
sentry-opentelemetry 100.00% <ø> (ø)
Files Coverage Δ
sentry-ruby/lib/sentry/configuration.rb 98.81% <100.00%> (+0.38%) ⬆️

... and 30 files with indirect coverage changes

Copy link
Collaborator

@st0012 st0012 left a comment

Choose a reason for hiding this comment

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

Sorry that I missed the renaming 🤦‍♂️
Can you also add a changelog entry? Otherwise it looks good, thank you!

@heka1024
Copy link
Contributor Author

heka1024 commented Aug 9, 2024

@st0012 I just added a changelog.

@st0012
Copy link
Collaborator

st0012 commented Aug 11, 2024

The CI failure is caused by sidekiq running tests with Rails 7.2, which our current test setup hasn't supported yet. So it's not related to this PR's change and I'm merging it now.

@st0012 st0012 merged commit 8c1c259 into getsentry:master Aug 11, 2024
103 of 125 checks passed
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