diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 17:34:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-05-20 17:34:42 +0300 |
commit | 9f46488805e86b1bc341ea1620b866016c2ce5ed (patch) | |
tree | f9748c7e287041e37d6da49e0a29c9511dc34768 /app/workers/pages_domain_ssl_renewal_cron_worker.rb | |
parent | dfc92d081ea0332d69c8aca2f0e745cb48ae5e6d (diff) |
Add latest changes from gitlab-org/gitlab@13-0-stable-ee
Diffstat (limited to 'app/workers/pages_domain_ssl_renewal_cron_worker.rb')
-rw-r--r-- | app/workers/pages_domain_ssl_renewal_cron_worker.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/workers/pages_domain_ssl_renewal_cron_worker.rb b/app/workers/pages_domain_ssl_renewal_cron_worker.rb index 43fb35c5298..fe6d516d3cf 100644 --- a/app/workers/pages_domain_ssl_renewal_cron_worker.rb +++ b/app/workers/pages_domain_ssl_renewal_cron_worker.rb @@ -10,11 +10,6 @@ class PagesDomainSslRenewalCronWorker # rubocop:disable Scalability/IdempotentWo return unless ::Gitlab::LetsEncrypt.enabled? PagesDomain.need_auto_ssl_renewal.with_logging_info.find_each do |domain| - # Ideally that should be handled in PagesDomain.need_auto_ssl_renewal scope - # but it's hard to make scope work with feature flags - # once we remove feature flag we can modify scope to implement this behaviour - next if Feature.enabled?(:pages_letsencrypt_errors, domain.project) && domain.auto_ssl_failed - with_context(project: domain.project) do PagesDomainSslRenewalWorker.perform_async(domain.id) end |