Commit ca9a8509 authored by nicolewilliams's avatar nicolewilliams

Update worker resource boundary for cpu bound workers

parent 837a6eba
......@@ -261,7 +261,7 @@
:feature_category: :continuous_delivery
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags: []
......@@ -381,7 +381,7 @@
:feature_category: :pages
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags: []
......@@ -390,7 +390,7 @@
:feature_category: :pages
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags: []
......@@ -2426,7 +2426,7 @@
:feature_category: :pages
:has_external_dependencies:
:urgency: :low
:resource_boundary: :unknown
:resource_boundary: :cpu
:weight: 1
:idempotent:
:tags:
......
......@@ -10,6 +10,7 @@ module Environments
include CronjobQueue # rubocop:disable Scalability/CronWorkerContext
feature_category :continuous_delivery
worker_resource_boundary :cpu
def perform
AutoStopService.new.execute
......
......@@ -9,6 +9,7 @@ class PagesDomainSslRenewalCronWorker # rubocop:disable Scalability/IdempotentWo
include CronjobQueue
feature_category :pages
worker_resource_boundary :cpu
def perform
return unless ::Gitlab::LetsEncrypt.enabled?
......
......@@ -9,6 +9,7 @@ class PagesDomainVerificationCronWorker # rubocop:disable Scalability/Idempotent
include CronjobQueue
feature_category :pages
worker_resource_boundary :cpu
def perform
return if Gitlab::Database.read_only?
......
......@@ -9,6 +9,7 @@ class PagesWorker # rubocop:disable Scalability/IdempotentWorker
feature_category :pages
loggable_arguments 0, 1
tags :requires_disk_io, :exclude_from_kubernetes
worker_resource_boundary :cpu
def perform(action, *arg)
send(action, *arg) # rubocop:disable GitlabSecurity/PublicSend
......
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