summaryrefslogtreecommitdiff
path: root/app/workers/ssh_keys
diff options
context:
space:
mode:
Diffstat (limited to 'app/workers/ssh_keys')
-rw-r--r--app/workers/ssh_keys/expired_notification_worker.rb3
-rw-r--r--app/workers/ssh_keys/expiring_soon_notification_worker.rb3
2 files changed, 4 insertions, 2 deletions
diff --git a/app/workers/ssh_keys/expired_notification_worker.rb b/app/workers/ssh_keys/expired_notification_worker.rb
index b67849942b0..6afeecdd1b5 100644
--- a/app/workers/ssh_keys/expired_notification_worker.rb
+++ b/app/workers/ssh_keys/expired_notification_worker.rb
@@ -4,7 +4,8 @@ module SshKeys
class ExpiredNotificationWorker
include ApplicationWorker
- sidekiq_options retry: 3
+ data_consistency :always
+
include CronjobQueue
feature_category :compliance_management
diff --git a/app/workers/ssh_keys/expiring_soon_notification_worker.rb b/app/workers/ssh_keys/expiring_soon_notification_worker.rb
index d87e31c36a5..ef256621e07 100644
--- a/app/workers/ssh_keys/expiring_soon_notification_worker.rb
+++ b/app/workers/ssh_keys/expiring_soon_notification_worker.rb
@@ -4,7 +4,8 @@ module SshKeys
class ExpiringSoonNotificationWorker
include ApplicationWorker
- sidekiq_options retry: 3
+ data_consistency :always
+
include CronjobQueue
feature_category :compliance_management