1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/lib/puma
Johnny Shields 5f255fcd13
In fork_worker mode, worker_culling_strategy "oldest" shouldn't cull worker 0 (#2794)
* When using fork_worker mode, worker_culling_strategy "oldest" shouldn't cull worker 0.

* Consider case where worker0 isn't oldest worker

* Reduce code complexity

* Add code comment

Co-authored-by: shields <shields@tablecheck.com>
2022-01-10 06:26:40 -07:00
..
app Rename Puma::JSON to Puma::JSONSerialization (#2640) 2021-06-09 08:55:45 -06:00
cluster Cleanup: Add WorkerHandle#term! method to remove usage of instance_variable_set (#2792) 2022-01-09 08:06:55 -07:00
minissl Support for cert_pem and key_pem with ssl_bind DSL (#2728) 2021-10-31 14:59:21 +01:00
plugin Test cleanup and parallelization (#1846) 2019-07-16 18:53:28 -04:00
rack Add Rubocop for redundant returns 2021-06-10 12:28:35 -06:00
binder.rb Allow backlog parameter to be set with ssl_bind DSL (#2780) 2022-01-01 16:11:22 -06:00
cli.rb Remove yaml (psych) requirement in StateFile (#2784) 2022-01-01 15:52:48 -06:00
client.rb Rescue Errno::EBADF in Client#close (#2748) 2021-11-06 12:13:44 +01:00
cluster.rb In fork_worker mode, worker_culling_strategy "oldest" shouldn't cull worker 0 (#2794) 2022-01-10 06:26:40 -07:00
commonlogger.rb fix: Update links to use TLS/SSL [ci skip] [changelog skip] 2020-08-14 00:20:07 +05:30
configuration.rb Allow culling of oldest workers, previously was only youngest (#2773) 2022-01-01 14:55:57 -06:00
const.rb Add worker_check_interval configuration option (#2759) 2021-12-11 14:58:05 -07:00
control_cli.rb Add support for APP_ENV environment variable 2021-09-20 10:12:38 -05:00
detect.rb Try to fix intermittent CI issues (#2739) 2021-10-31 12:06:58 +01:00
dsl.rb Allow backlog parameter to be set with ssl_bind DSL (#2780) 2022-01-01 16:11:22 -06:00
error_logger.rb fix some spell errors (#2615) 2021-04-29 10:01:15 -06:00
events.rb Avoid mutating stdout and stderr (#2486) 2020-12-02 10:43:53 -07:00
io_buffer.rb IOBuffer back to Ruby (#1980) 2020-02-27 13:50:34 -06:00
jruby_restart.rb Remove daemonization (#2170) 2020-03-10 12:08:34 -06:00
json_serialization.rb Rename Puma::JSON to Puma::JSONSerialization (#2640) 2021-06-09 08:55:45 -06:00
launcher.rb Process.respond_to?(:fork) is already defined as Puma.forkable?, so let's use it (#2793) 2022-01-09 08:07:15 -07:00
minissl.rb Support for cert_pem and key_pem with ssl_bind DSL (#2728) 2021-10-31 14:59:21 +01:00
null_io.rb Add #flush and #sync methods to Puma::NullIO (#2553) 2021-02-10 15:30:24 -07:00
plugin.rb Keep thread names under 15 characters (#2733) 2021-12-12 13:11:19 -07:00
queue_close.rb Refactor drain on shutdown (#2600) 2021-04-30 17:22:59 -05:00
rack_default.rb Test cleanup and parallelization (#1846) 2019-07-16 18:53:28 -04:00
reactor.rb Allow specifying the desired IO selector backend for nio4r (#2522) 2021-01-12 09:39:33 -07:00
request.rb Always send lowlevel_error response to client (#2731) 2021-11-02 14:54:22 -05:00
runner.rb Keep thread names under 15 characters (#2733) 2021-12-12 13:11:19 -07:00
server.rb server.rb - refactor code using @options[:remote_address] (#2742) 2021-12-12 13:12:46 -07:00
single.rb Server run thread safety fix [changelog skip] (#2435) 2020-10-20 07:26:16 -06:00
state_file.rb Remove yaml (psych) requirement in StateFile (#2784) 2022-01-01 15:52:48 -06:00
systemd.rb Add systemd notify and watchdog support (#2438) 2020-10-26 16:02:31 -06:00
thread_pool.rb Bump RuboCop to work with newer Psych versions (#2783) 2021-12-31 14:18:16 +01:00
util.rb Extract calls to purge_interrupt_queue (#2716) 2021-10-01 14:11:15 -06:00