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, 3 insertions, 0 deletions
diff --git a/app/workers/personal_access_tokens/expired_notification_worker.rb b/app/workers/personal_access_tokens/expired_notification_worker.rb
index 2ff64ec51f3..73568960d38 100644
--- a/app/workers/personal_access_tokens/expired_notification_worker.rb
+++ b/app/workers/personal_access_tokens/expired_notification_worker.rb
@@ -3,9 +3,12 @@
module PersonalAccessTokens
class ExpiredNotificationWorker # rubocop:disable Scalability/IdempotentWorker
include ApplicationWorker
+
+ sidekiq_options retry: 3
include CronjobQueue
feature_category :authentication_and_authorization
+ tags :exclude_from_kubernetes
def perform(*args)
notification_service = NotificationService.new