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

Micro optimisations in wait_for_less_busy_worker feature #2579

Merged
merged 4 commits into from Mar 17, 2021

Commits on Mar 17, 2021

  1. Micro optimisations in wait_for_less_busy_worker feature

    Two small things:
    
    - https://github.com/puma/puma/pull/2079/files#r422738756 -> swap the order of calls so that the faster call (float comparison) runs first.
    - https://github.com/puma/puma/pull/2079/files#r596114279 -> don't call `.to_f` on option that we already know is a float.
    ghiculescu committed Mar 17, 2021
    Copy the full SHA
    75aee37 View commit details
    Browse the repository at this point in the history
  2. Update server.rb

    ghiculescu committed Mar 17, 2021
    Copy the full SHA
    4bf252e View commit details
    Browse the repository at this point in the history
  3. Update thread_pool.rb

    ghiculescu committed Mar 17, 2021
    Copy the full SHA
    2eb8ec6 View commit details
    Browse the repository at this point in the history
  4. Update thread_pool.rb

    ghiculescu committed Mar 17, 2021
    Copy the full SHA
    dea72c1 View commit details
    Browse the repository at this point in the history