Commit e2be6e19 authored by Alex Kalderimis's avatar Alex Kalderimis

Merge branch 'pi-sidekiq-workers' into 'master'

Add worker resource boundary to service ping and onboarding progress worker

See merge request gitlab-org/gitlab!66992
parents 89300a7c 9b783796
...@@ -288,7 +288,7 @@ ...@@ -288,7 +288,7 @@
:feature_category: :service_ping :feature_category: :service_ping
:has_external_dependencies: :has_external_dependencies:
:urgency: :low :urgency: :low
:resource_boundary: :unknown :resource_boundary: :cpu
:weight: 1 :weight: 1
:idempotent: :idempotent:
:tags: [] :tags: []
...@@ -2383,7 +2383,7 @@ ...@@ -2383,7 +2383,7 @@
:feature_category: :product_analytics :feature_category: :product_analytics
:has_external_dependencies: :has_external_dependencies:
:urgency: :low :urgency: :low
:resource_boundary: :unknown :resource_boundary: :cpu
:weight: 1 :weight: 1
:idempotent: true :idempotent: true
:tags: :tags:
......
...@@ -11,6 +11,7 @@ class GitlabServicePingWorker # rubocop:disable Scalability/IdempotentWorker ...@@ -11,6 +11,7 @@ class GitlabServicePingWorker # rubocop:disable Scalability/IdempotentWorker
include Gitlab::ExclusiveLeaseHelpers include Gitlab::ExclusiveLeaseHelpers
feature_category :service_ping feature_category :service_ping
worker_resource_boundary :cpu
sidekiq_options retry: 3, dead: false sidekiq_options retry: 3, dead: false
sidekiq_retry_in { |count| (count + 1) * 8.hours.to_i } sidekiq_retry_in { |count| (count + 1) * 8.hours.to_i }
......
...@@ -9,6 +9,7 @@ module Namespaces ...@@ -9,6 +9,7 @@ module Namespaces
sidekiq_options retry: 3 sidekiq_options retry: 3
feature_category :product_analytics feature_category :product_analytics
worker_resource_boundary :cpu
tags :exclude_from_kubernetes tags :exclude_from_kubernetes
urgency :low urgency :low
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment