Skip to content

Conversation

@ghiculescu
Copy link
Contributor

@ghiculescu ghiculescu commented Mar 17, 2021

Two small things:

@ghiculescu ghiculescu marked this pull request as ready for review March 17, 2021 15:17
@nateberkopec nateberkopec merged commit 78cf164 into puma:master Mar 17, 2021
@ghiculescu ghiculescu deleted the patch-1 branch March 17, 2021 19:14
JuanitoFatas pushed a commit to JuanitoFatas/puma that referenced this pull request Sep 9, 2022
* 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.

* Update server.rb

* Update thread_pool.rb

* Update thread_pool.rb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants