Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/metrics/dashboard/prune_old_annotations_worker.rb')
-rw-r--r--app/workers/metrics/dashboard/prune_old_annotations_worker.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/workers/metrics/dashboard/prune_old_annotations_worker.rb b/app/workers/metrics/dashboard/prune_old_annotations_worker.rb
index 2a9ce3bb8e6..5e8067a4438 100644
--- a/app/workers/metrics/dashboard/prune_old_annotations_worker.rb
+++ b/app/workers/metrics/dashboard/prune_old_annotations_worker.rb
@@ -5,6 +5,8 @@ module Metrics
class PruneOldAnnotationsWorker
include ApplicationWorker
+ sidekiq_options retry: 3
+
DELETE_LIMIT = 10_000
DEFAULT_CUT_OFF_PERIOD = 2.weeks