diff options
author | Vladimir Shushlin <vshushlin@gitlab.com> | 2019-04-30 12:05:54 +0000 |
---|---|---|
committer | Nick Thomas <nick@gitlab.com> | 2019-04-30 12:05:54 +0000 |
commit | ac744fd4fceb996dcafe7958dd35b081331f46fe (patch) | |
tree | eba5a21f6e074b2c83141dda4999034b3b7aec93 /config | |
parent | 9e2958aed9fb634801d57acd2bd6f4500dec012e (diff) | |
download | gitlab-ce-ac744fd4fceb996dcafe7958dd35b081331f46fe.tar.gz |
Remove disabled pages domains
Domain will be removed by verification worker after 1 week
of being disabled
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/1_settings.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb index 3c426cdb969..e9b36873d75 100644 --- a/config/initializers/1_settings.rb +++ b/config/initializers/1_settings.rb @@ -338,6 +338,10 @@ Settings.cron_jobs['pages_domain_verification_cron_worker'] ||= Settingslogic.ne Settings.cron_jobs['pages_domain_verification_cron_worker']['cron'] ||= '*/15 * * * *' Settings.cron_jobs['pages_domain_verification_cron_worker']['job_class'] = 'PagesDomainVerificationCronWorker' +Settings.cron_jobs['pages_domain_removal_cron_worker'] ||= Settingslogic.new({}) +Settings.cron_jobs['pages_domain_removal_cron_worker']['cron'] ||= '47 0 * * *' +Settings.cron_jobs['pages_domain_removal_cron_worker']['job_class'] = 'PagesDomainRemovalCronWorker' + Settings.cron_jobs['issue_due_scheduler_worker'] ||= Settingslogic.new({}) Settings.cron_jobs['issue_due_scheduler_worker']['cron'] ||= '50 00 * * *' Settings.cron_jobs['issue_due_scheduler_worker']['job_class'] = 'IssueDueSchedulerWorker' |