lib/base.rb in oboe-heroku-0.9.8.5 vs lib/base.rb in oboe-heroku-0.9.9.0

- old
+ new

@@ -56,9 +56,17 @@ def log(layer, label, options = {}) Context.log(layer, label, options = options) end + def heroku? + true + end + + def forking_webserver? + defined?(::Unicorn) + end + ## # These methods should be implemented by the descendants # (Oboe_metal, Oboe_metal (JRuby), Heroku_metal) # def sample?(opts = {})