2020-05-24 23:13:21 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# Preloads Sidekiq configurations that don't require application references.
|
|
|
|
#
|
|
|
|
# It ensures default settings are loaded before any other file references
|
|
|
|
# (directly or indirectly) Sidekiq workers.
|
|
|
|
#
|
|
|
|
|
|
|
|
require 'sidekiq/web'
|
|
|
|
|
|
|
|
if Rails.env.development?
|
2022-10-11 01:57:18 +05:30
|
|
|
Sidekiq.default_job_options[:backtrace] = true
|
2020-05-24 23:13:21 +05:30
|
|
|
end
|