aboutsummaryrefslogtreecommitdiff
path: root/app/jobs/application_job.rb
blob: 9f811cb5f199c91881664309955b020f7dbc3e63 (plain)
1
2
3
4
5
6
7
8
9
10
11
# SPDX-FileCopyrightText: 2020 IN COMMON Collective <collective@incommon.cc>
#
# SPDX-License-Identifier: AGPL-3.0-or-later

class ApplicationJob < ActiveJob::Base
  # Automatically retry jobs that encountered a deadlock
  # retry_on ActiveRecord::Deadlocked

  # Most jobs are safe to ignore if the underlying records are no longer available
  # discard_on ActiveJob::DeserializationError
end