From fa69a57b46f4893c488445f79d6d290463820f7d Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 26 Apr 2023 18:19:16 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- config/initializers/sidekiq.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'config/initializers') diff --git a/config/initializers/sidekiq.rb b/config/initializers/sidekiq.rb index cf8df814990..b2baccf886f 100644 --- a/config/initializers/sidekiq.rb +++ b/config/initializers/sidekiq.rb @@ -32,8 +32,6 @@ queues_config_hash = Gitlab::Redis::Queues.params queues_config_hash[:namespace] = Gitlab::Redis::Queues::SIDEKIQ_NAMESPACE enable_json_logs = Gitlab.config.sidekiq.log_format == 'json' -enable_sidekiq_memory_killer = ENV['SIDEKIQ_MEMORY_KILLER_MAX_RSS'].to_i.nonzero? && - !Gitlab::Utils.to_boolean(ENV['GITLAB_MEMORY_WATCHDOG_ENABLED'], default: true) Sidekiq.configure_server do |config| config[:strict] = false @@ -70,8 +68,6 @@ Sidekiq.configure_server do |config| # To cancel job, it requires `SIDEKIQ_MONITOR_WORKER=1` to enable notification channel Gitlab::SidekiqDaemon::Monitor.instance.start - Gitlab::SidekiqDaemon::MemoryKiller.instance.start if enable_sidekiq_memory_killer - first_sidekiq_worker = !ENV['SIDEKIQ_WORKER_ID'] || ENV['SIDEKIQ_WORKER_ID'] == '0' health_checks = Settings.monitoring.sidekiq_health_checks -- cgit v1.2.1