summaryrefslogtreecommitdiff
path: root/app/workers/personal_access_tokens/expired_notification_worker.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/personal_access_tokens/expired_notification_worker.rb')
-rw-r--r--app/workers/personal_access_tokens/expired_notification_worker.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/workers/personal_access_tokens/expired_notification_worker.rb b/app/workers/personal_access_tokens/expired_notification_worker.rb
index 73568960d38..8deacf457b2 100644
--- a/app/workers/personal_access_tokens/expired_notification_worker.rb
+++ b/app/workers/personal_access_tokens/expired_notification_worker.rb
@@ -4,7 +4,8 @@ module PersonalAccessTokens
class ExpiredNotificationWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
- sidekiq_options retry: 3
+ data_consistency :always
+
include CronjobQueue
feature_category :authentication_and_authorization