Skip to content

Use Concurrent.available_processor_count instead of Concurrent.usable_processor_count#2358

Merged
st0012 merged 1 commit into
getsentry:masterfrom
heka1024:available-processor-count
Aug 11, 2024
Merged

Use Concurrent.available_processor_count instead of Concurrent.usable_processor_count#2358
st0012 merged 1 commit into
getsentry:masterfrom
heka1024:available-processor-count

Conversation

@heka1024

Copy link
Copy Markdown
Contributor

Description

@heka1024

Copy link
Copy Markdown
Contributor Author

cc. @st0012

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

codecov Bot commented Aug 5, 2024

Copy link
Copy Markdown

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

@st0012 st0012 left a comment

Copy link
Copy Markdown
Contributor

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
heka1024 force-pushed the available-processor-count branch from a2a1c7a to c9a8ff0 Compare August 9, 2024 19:06
@heka1024

heka1024 commented Aug 9, 2024

Copy link
Copy Markdown
Contributor Author

@st0012 I just added a changelog.

@st0012

st0012 commented Aug 11, 2024

Copy link
Copy Markdown
Contributor

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
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