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
Will Jordan 774c460e60
Improvements to out_of_band hook (#2234)
* Improve OOB hook

This moves the hook to be executed outside of busy loop
considering the thread to be truly idle at a time of execution
of the hook

* Further improvements to out-of-band hook
* Don't trigger OOB on partially-queued requests
* Don't accept new connections during OOB
* Move tests to `TestOutOfBandServer`

Co-authored-by: Kamil Trzcinski <ayufan@ayufan.eu>
Co-authored-by: Nate Berkopec <nate.berkopec@gmail.com>
2020-04-30 12:02:49 +09:00
..
app Change Puma.stats to return a hash instead of a JSON string (#2086) 2019-12-17 12:38:48 +07:00
minissl Add SSL support for the control app (#2046) 2019-10-21 09:35:15 +08:00
plugin Test cleanup and parallelization (#1846) 2019-07-16 18:53:28 -04:00
rack Remove daemonization (#2170) 2020-03-10 12:08:34 -06:00
accept_nonblock.rb lib\puma\accept_nonblock.rb - fix socket closing on error (#1941) 2019-09-02 07:15:25 +00:00
binder.rb Lock to Rack 1.6 2020-03-19 14:25:09 -06:00
cli.rb Remove daemonization (#2170) 2020-03-10 12:08:34 -06:00
client.rb Pass queued requests to thread pool on server shutdown (#2122) 2020-04-10 16:04:27 +09:00
cluster.rb Faster phased restart and worker timeout 2020-04-15 08:56:43 +09:00
commonlogger.rb Freeze all the strings! 2018-09-17 11:41:14 -05:00
configuration.rb Fix UserFileDefaultOptions#fetch implementation (#2233) 2020-04-25 15:59:46 +09:00
const.rb Remove LOCALHOST_ADDR. Fix #2175 2020-03-11 12:50:06 -06:00
control_cli.rb control_cli.rb - improve ssl connection shutdown (#2211) 2020-03-31 08:22:10 +09:00
detect.rb Nitpicks 2020-04-22 08:35:28 +09:00
dsl.rb Prefer rackup file specified by CLI (#2236) 2020-04-28 08:15:33 +09:00
events.rb Revert "Avoid mutating global STDOUT & STDERR (#1837)" (#1946) 2019-09-02 16:05:48 +00: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
launcher.rb Revert "Use SIGWINCH to print thread backtraces 2020-04-02 09:28:44 +09:00
minissl.rb Run tests on TruffleRuby, all tests pass now (#2198) 2020-03-25 06:13:31 +09:00
null_io.rb improved rubocop config (#2152) 2020-03-07 08:15:43 -06:00
plugin.rb Nitpicks 2020-04-22 08:35:28 +09:00
rack_default.rb Test cleanup and parallelization (#1846) 2019-07-16 18:53:28 -04:00
reactor.rb Pass queued requests to thread pool on server shutdown (#2122) 2020-04-10 16:04:27 +09:00
runner.rb Remove daemonization (#2170) 2020-03-10 12:08:34 -06:00
server.rb Improvements to out_of_band hook (#2234) 2020-04-30 12:02:49 +09:00
single.rb JSON parse cluster worker stats instead of regex (#2124) 2020-04-14 13:06:30 +09:00
state_file.rb Freeze all the strings! 2018-09-17 11:41:14 -05:00
thread_pool.rb Improvements to out_of_band hook (#2234) 2020-04-30 12:02:49 +09:00
util.rb Remove URI backport for Ruby 1.9.3 (#1709) 2019-02-14 14:37:27 -07:00