lib/oboe/loading.rb in oboe-2.6.0.2 vs lib/oboe/loading.rb in oboe-2.6.1.0
- old
+ new
@@ -86,7 +86,12 @@
end
end
end
Oboe::Loading.require_api
-Oboe::Reporter.start
+
+# Auto-start the Reporter unless we running Unicorn on Heroku
+# In that case, we start the reporters after fork
+unless defined?(::Unicorn) and ENV.has_key?('TRACEVIEW_URL')
+ Oboe::Reporter.start
+end