lib/flipper/notifications/jobs/webhook_notification_job.rb in flipper-notifications-0.1.0 vs lib/flipper/notifications/jobs/webhook_notification_job.rb in flipper-notifications-0.1.1

- old
+ new

@@ -4,10 +4,11 @@ require "flipper/notifications/webhooks/errors" module Flipper module Notifications class WebhookNotificationJob < ActiveJob::Base + # TODO: Pull queue from configuration? # queue_as :low retry_on Webhooks::NetworkError, Webhooks::ServerError, @@ -15,8 +16,9 @@ wait: :exponentially_longer def perform(webhook:, **webhook_args) webhook.notify(**webhook_args) end + end end end