1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/lib
Alex Ghiculescu 78cf164e35
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
2021-03-17 13:11:38 -06:00
..
puma Micro optimisations in wait_for_less_busy_worker feature (#2579) 2021-03-17 13:11:38 -06:00
rack/handler Require rack/common_logger only if :verbose is true (#2547) 2021-02-03 14:34:11 -07:00
puma.rb Update helper.rb TestSkips, add HAS_UNIX_SOCKET to puma.rb [changelog skip] (#2576) 2021-03-15 08:10:43 -06:00