summaryrefslogtreecommitdiff
path: root/app/workers/users/create_statistics_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/users/create_statistics_worker.rb')
-rw-r--r--app/workers/users/create_statistics_worker.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/workers/users/create_statistics_worker.rb b/app/workers/users/create_statistics_worker.rb
index e44039f2016..0c27d165ded 100644
--- a/app/workers/users/create_statistics_worker.rb
+++ b/app/workers/users/create_statistics_worker.rb
@@ -4,7 +4,8 @@ module Users
class CreateStatisticsWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
- sidekiq_options retry: 3
+ data_consistency :always
+
# rubocop:disable Scalability/CronWorkerContext
# This worker does not perform work scoped to a context
include CronjobQueue