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
Daniel Colson 957fd3ac93 Indent SIGINFO thread backtraces (#2071)
Before this commit the SIGINFO thread backtraces looked like:

```
Thread: TID-owjccjjvw puma reactor
/path/to/puma/reactor.rb:136 in 'select'
/path/to/puma/reactor.rb:136 in 'run_internal'
/path/to/puma/reactor.rb:313 in 'run_in_thread'
Thread: TID-owjccjjrg puma threadpool reaper
/path/to/puma/thread_pool.rb:262 in 'sleep'
/path/to/puma/thread_pool.rb:262 in 'block in start!'
```

This format can make it a bit difficult to see where one backtrace ends
and the next begins. This commit indents the backtrace lines for clearer
visual separation.

```
Thread: TID-owjccjjvw puma reactor
  /path/to/puma/reactor.rb:136 in 'select'
  /path/to/puma/reactor.rb:136 in 'run_internal'
  /path/to/puma/reactor.rb:313 in 'run_in_thread'
Thread: TID-owjccjjrg puma threadpool reaper
  /path/to/puma/thread_pool.rb:262 in 'sleep'
  /path/to/puma/thread_pool.rb:262 in 'block in start!'
```
2019-11-11 13:29:03 +08:00
..
app Add pumactl command to print thread backtraces (#2054) 2019-11-11 13:08:41 +08: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 Test cleanup and parallelization (#1846) 2019-07-16 18:53:28 -04: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 Add SSL support for the control app (#2046) 2019-10-21 09:35:15 +08:00
cli.rb Fix typo "c" -> "user_config" for --extra_runtime_dependencies (#2050) 2019-10-25 23:27:47 +08:00
client.rb Remove Puma::Delegation (#2000) 2019-10-01 18:05:46 +02:00
cluster.rb Fix Binder @unix_paths handling 2019-10-01 08:50:38 -05:00
commonlogger.rb Freeze all the strings! 2018-09-17 11:41:14 -05:00
configuration.rb Config: Get environment from RAILS_ENV, too (#2022) 2019-11-11 13:10:02 +08:00
const.rb 4.3.0 2019-11-07 14:50:05 -05:00
control_cli.rb Config: Get environment from RAILS_ENV, too (#2022) 2019-11-11 13:10:02 +08:00
detect.rb Freeze all the strings! 2018-09-17 11:41:14 -05:00
dsl.rb Add plugin example to extra_runtime_dependencies 2019-10-23 15:36:41 +08:00
events.rb Revert "Avoid mutating global STDOUT & STDERR (#1837)" (#1946) 2019-09-02 16:05:48 +00:00
io_buffer.rb re-implement (native) IOBuffer for JRuby 2018-12-20 12:40:15 +01:00
jruby_restart.rb Freeze all the strings! 2018-09-17 11:41:14 -05:00
launcher.rb Indent SIGINFO thread backtraces (#2071) 2019-11-11 13:29:03 +08:00
minissl.rb OpenSSL 1.1.1 updates, add #no_tlsv1_1 2019-08-03 14:36:59 -05:00
null_io.rb Freeze all the strings! 2018-09-17 11:41:14 -05:00
plugin.rb PluginRegistry#fire_background - fix up per issue 1972 (#1973) 2019-09-18 15:53:29 +02:00
rack_default.rb Test cleanup and parallelization (#1846) 2019-07-16 18:53:28 -04:00
reactor.rb Don't allow EINVAL to raise during SSL addr check 2019-10-07 16:03:05 +02:00
runner.rb Add SSL support for the control app (#2046) 2019-10-21 09:35:15 +08:00
server.rb Remove Puma::Delegation (#2000) 2019-10-01 18:05:46 +02:00
single.rb Fix Binder @unix_paths handling 2019-10-01 08:50:38 -05:00
state_file.rb Freeze all the strings! 2018-09-17 11:41:14 -05:00
tcp_logger.rb Freeze all the strings! 2018-09-17 11:41:14 -05:00
thread_pool.rb Fix typo 2019-10-19 16:58:19 +08:00
util.rb Remove URI backport for Ruby 1.9.3 (#1709) 2019-02-14 14:37:27 -07:00