summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-14 09:46:43 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-14 09:46:43 +0000
commit744bca3d9f7f46c7547daf1ba8676fd9e4ae7ba8 (patch)
tree506429663a990afe5e5f2e0614fc7d23db2049d5 /config
parente908d023b55c06a23929b034700d5d06f2efcde8 (diff)
downloadgitlab-ce-744bca3d9f7f46c7547daf1ba8676fd9e4ae7ba8.tar.gz
Add latest changes from gitlab-org/gitlab@15-4-stable-ee
Diffstat (limited to 'config')
-rw-r--r--config/initializers/1_settings.rb2
-rw-r--r--config/settings.rb6
2 files changed, 1 insertions, 7 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb
index 3fc4b56f458..d6e361662e0 100644
--- a/config/initializers/1_settings.rb
+++ b/config/initializers/1_settings.rb
@@ -812,7 +812,7 @@ end
#
Settings['sidekiq'] ||= Settingslogic.new({})
Settings['sidekiq']['log_format'] ||= 'default'
-Settings['sidekiq']['routing_rules'] = Settings.__send__(:build_sidekiq_routing_rules, Settings['sidekiq']['routing_rules'])
+Settings['sidekiq']['routing_rules'] ||= []
#
# GitLab Shell
diff --git a/config/settings.rb b/config/settings.rb
index b242e970cc6..51d54817646 100644
--- a/config/settings.rb
+++ b/config/settings.rb
@@ -204,11 +204,5 @@ class Settings < Settingslogic
"#{minute} #{hour} * * #{day_of_week}"
end
-
- # Route all jobs to 'default' queue. This setting is meant for self-managed instances use to keep things simple.
- # See https://gitlab.com/gitlab-com/gl-infra/scalability/-/issues/1491
- def build_sidekiq_routing_rules(rules)
- rules.nil? || rules&.empty? ? [['*', 'default']] : rules
- end
end
end