Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Micro optimisations in
wait_for_less_busy_worker
feature (#2579)
* 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
- Loading branch information