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.usable_processor_count when it is available #2339

Merged
merged 2 commits into from
Jul 9, 2024

Commits on Jul 6, 2024

  1. Use Concurrent.usable_processor_count when it is available

    It's a new API introduced in concurrent-ruby 1.3.1, which works better
    in the container environment.
    
    ruby-concurrency/concurrent-ruby#1038
    
    Since there are gems like sorbet-runtime that still use older versions
    of concurrent-ruby, we can't directly bump concurrent-ruby's requirement,
    but need to check if the method is available before calling it.
    st0012 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    d068b4f View commit details
    Browse the repository at this point in the history
  2. Update changelog

    st0012 committed Jul 6, 2024
    Configuration menu
    Copy the full SHA
    adb69d2 View commit details
    Browse the repository at this point in the history