Commit graph

4 commits

Author SHA1 Message Date
Andrew Newdigate
1065f8ce7a Add experimental support for Puma
This allows us (and others) to test drive Puma without it affecting all
users. Puma can be enabled by setting the environment variable
"EXPERIMENTAL_PUMA" to a non empty value.
2018-10-25 17:50:15 +01:00
Stan Hu
37748e44f7 Move rbtrace initialization into Sidekiq 2018-07-30 08:12:45 -07:00
Stan Hu
820923664d Make rbtrace work under unicorn
The Unicorn master resets any signal handlers and prevents rbtrace
from working properly as a result. Move the `require 'rbtrace'` call
to the Unicorn `after_fork` block and keep the initializer only for Sidekiq.
2018-07-30 08:12:45 -07:00
Stan Hu
b755673fb6 Add rbtrace to Gemfile
This will be enabled if ENABLE_RBTRACE environment variable is defined.
This will allow us to debug all sorts of issues in production:

https://github.com/tmm1/rbtrace
2018-07-25 04:41:40 -07:00