diff options
author | Adam Niedzielski <adamsunday@gmail.com> | 2016-08-04 09:41:29 +0200 |
---|---|---|
committer | Adam Niedzielski <adamsunday@gmail.com> | 2016-08-04 09:41:29 +0200 |
commit | 9adddebc6deacd05e2de146ede640f690a17d7bf (patch) | |
tree | 4a16bf5f58542bc1a77a8f95fe7fd76c569f3127 /config | |
parent | d95fd3cb9927d41b33e6991377ec060f2a12f4d5 (diff) | |
download | gitlab-ce-9adddebc6deacd05e2de146ede640f690a17d7bf.tar.gz |
Add worker which removes expired members.
Diffstat (limited to 'config')
-rw-r--r-- | config/initializers/1_settings.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/initializers/1_settings.rb b/config/initializers/1_settings.rb index 49130f37b31..78e4b2b1bd3 100644 --- a/config/initializers/1_settings.rb +++ b/config/initializers/1_settings.rb @@ -293,6 +293,9 @@ Settings.cron_jobs['gitlab_remove_project_export_worker']['job_class'] = 'Gitlab Settings.cron_jobs['requests_profiles_worker'] ||= Settingslogic.new({}) Settings.cron_jobs['requests_profiles_worker']['cron'] ||= '0 0 * * *' Settings.cron_jobs['requests_profiles_worker']['job_class'] = 'RequestsProfilesWorker' +Settings.cron_jobs['remove_expired_members_worker'] ||= Settingslogic.new({}) +Settings.cron_jobs['remove_expired_members_worker']['cron'] ||= '10 0 * * *' +Settings.cron_jobs['remove_expired_members_worker']['job_class'] = 'RemoveExpiredMembersWorker' # # GitLab Shell |