summaryrefslogtreecommitdiff
path: root/app/workers/pipeline_notification_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/pipeline_notification_worker.rb')
-rw-r--r--app/workers/pipeline_notification_worker.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/workers/pipeline_notification_worker.rb b/app/workers/pipeline_notification_worker.rb
index e4a18573d20..62ecbc8a047 100644
--- a/app/workers/pipeline_notification_worker.rb
+++ b/app/workers/pipeline_notification_worker.rb
@@ -4,6 +4,9 @@ class PipelineNotificationWorker
include ApplicationWorker
include PipelineQueue
+ latency_sensitive_worker!
+ worker_resource_boundary :cpu
+
# rubocop: disable CodeReuse/ActiveRecord
def perform(pipeline_id, recipients = nil)
pipeline = Ci::Pipeline.find_by(id: pipeline_id)