summaryrefslogtreecommitdiff
path: root/app/workers/user_status_cleanup/batch_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/user_status_cleanup/batch_worker.rb')
-rw-r--r--app/workers/user_status_cleanup/batch_worker.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/workers/user_status_cleanup/batch_worker.rb b/app/workers/user_status_cleanup/batch_worker.rb
index 0c1087cc4d2..f46b4119f9b 100644
--- a/app/workers/user_status_cleanup/batch_worker.rb
+++ b/app/workers/user_status_cleanup/batch_worker.rb
@@ -4,11 +4,14 @@ module UserStatusCleanup
# This worker will run every minute to look for user status records to clean up.
class BatchWorker
include ApplicationWorker
+
+ sidekiq_options retry: 3
# rubocop:disable Scalability/CronWorkerContext
include CronjobQueue
# rubocop:enable Scalability/CronWorkerContext
feature_category :users
+ tags :exclude_from_kubernetes
idempotent!