summaryrefslogtreecommitdiff
path: root/app/workers/gitlab_performance_bar_stats_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/gitlab_performance_bar_stats_worker.rb')
-rw-r--r--app/workers/gitlab_performance_bar_stats_worker.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/workers/gitlab_performance_bar_stats_worker.rb b/app/workers/gitlab_performance_bar_stats_worker.rb
index 4f7fdcf96f0..4e8bcb9af7b 100644
--- a/app/workers/gitlab_performance_bar_stats_worker.rb
+++ b/app/workers/gitlab_performance_bar_stats_worker.rb
@@ -3,6 +3,9 @@
class GitlabPerformanceBarStatsWorker
include ApplicationWorker
+ data_consistency :always
+ worker_resource_boundary :cpu
+
sidekiq_options retry: 3
LEASE_KEY = 'gitlab:performance_bar_stats'