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 @@
:feature_category: :service_ping
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags: []
......@@ -2383,7 +2383,7 @@
:feature_category: :product_analytics
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:resource_boundary: :cpu
:weight: 1
:idempotent: true
:tags:
......
......@@ -11,6 +11,7 @@ class GitlabServicePingWorker # rubocop:disable Scalability/IdempotentWorker
include Gitlab::ExclusiveLeaseHelpers
feature_category :service_ping
worker_resource_boundary :cpu
sidekiq_options retry: 3, dead: false
sidekiq_retry_in { |count| (count + 1) * 8.hours.to_i }
......
......@@ -9,6 +9,7 @@ module Namespaces
sidekiq_options retry: 3
feature_category :product_analytics
worker_resource_boundary :cpu
tags :exclude_from_kubernetes
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