Welcome to mirror list, hosted at ThFree Co, Russian Federation.

002_sidekiq.rb « initializers_before_autoloader « config - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 929bdeda996e1fdd915a38a2ccd2fdfa200fb034 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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?
  Sidekiq.default_job_options[:backtrace] = true
end