summaryrefslogtreecommitdiff
path: root/app/workers/new_note_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/new_note_worker.rb')
-rw-r--r--app/workers/new_note_worker.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/new_note_worker.rb b/app/workers/new_note_worker.rb
index d0d2a563738..2a5988a7e32 100644
--- a/app/workers/new_note_worker.rb
+++ b/app/workers/new_note_worker.rb
@@ -4,6 +4,8 @@ class NewNoteWorker
include ApplicationWorker
feature_category :issue_tracking
+ latency_sensitive_worker!
+ worker_resource_boundary :cpu
# Keep extra parameter to preserve backwards compatibility with
# old `NewNoteWorker` jobs (can remove later)