Skip to content

Instantly share code, notes, and snippets.

@metaskills
Last active October 1, 2021 11:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save metaskills/b4845bd45992e98b824cd5b529655a4d to your computer and use it in GitHub Desktop.
Save metaskills/b4845bd45992e98b824cd5b529655a4d to your computer and use it in GitHub Desktop.
Safe Async Rollbar on AWS Lambda with Rails https://github.com/customink/lambda_punch
require 'rollbar/rails'
Rollbar.configure do |config|
config.use_async = true
config.async_handler = proc do |payload|
LambdaPunch.push { Rollbar.process_from_async_handler(payload) }
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment