diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 17:16:28 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 17:16:28 +0300 |
commit | e4384360a16dd9a19d4d2d25d0ef1f2b862ed2a6 (patch) | |
tree | 2fcdfa7dcdb9db8f5208b2562f4b4e803d671243 /app/workers/metrics/dashboard/prune_old_annotations_worker.rb | |
parent | ffda4e7bcac36987f936b4ba515995a6698698f0 (diff) |
Add latest changes from gitlab-org/gitlab@16-2-stable-eev16.2.0-rc42
Diffstat (limited to 'app/workers/metrics/dashboard/prune_old_annotations_worker.rb')
-rw-r--r-- | app/workers/metrics/dashboard/prune_old_annotations_worker.rb | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/app/workers/metrics/dashboard/prune_old_annotations_worker.rb b/app/workers/metrics/dashboard/prune_old_annotations_worker.rb deleted file mode 100644 index 5b34f85606d..00000000000 --- a/app/workers/metrics/dashboard/prune_old_annotations_worker.rb +++ /dev/null @@ -1,22 +0,0 @@ -# frozen_string_literal: true - -module Metrics - module Dashboard - class PruneOldAnnotationsWorker - include ApplicationWorker - - data_consistency :always - - sidekiq_options retry: 3 - - DELETE_LIMIT = 10_000 - DEFAULT_CUT_OFF_PERIOD = 2.weeks - - feature_category :metrics - - idempotent! # in the scope of 24 hours - - def perform; end - end - end -end |