1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/lib
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
..
puma Indent SIGINFO thread backtraces (#2071) 2019-11-11 13:29:03 +08:00
rack/handler Removes empty lines left behind (#1897) 2019-08-09 07:33:24 -07:00
puma.rb All Puma threads are named (#1968) 2019-09-15 10:52:34 +02:00