lib/resque/rollbar.rb in resque-rollbar-0.0.5 vs lib/resque/rollbar.rb in resque-rollbar-0.1.0
- old
+ new
@@ -1,7 +1,14 @@
require 'resque/failure/rollbar'
+
+Resque.before_first_fork do
+ # Force synchronous reporting
+ ::Rollbar.configure do |config|
+ config.use_async = false
+ end
+end