diff options
author | Sean McGivern <sean@mcgivern.me.uk> | 2016-10-31 12:00:53 +0000 |
---|---|---|
committer | Sean McGivern <sean@mcgivern.me.uk> | 2016-10-31 12:00:53 +0000 |
commit | 1167c0be9c1abb16a9154be9c5d2671d0769f84a (patch) | |
tree | c6594a3b348e26cb81e3c3d412a2b1799f96622e /config | |
parent | 6cd508d44eb17fcd3d9a2ff4c96b05ecafc84c5a (diff) | |
parent | 17a97ef2fa3ee3aba31b401001a1f0f9744fbf12 (diff) | |
download | gitlab-ce-1167c0be9c1abb16a9154be9c5d2671d0769f84a.tar.gz |
Merge branch 'lfs_object_removal' into 'master'
23858-task-lists
Remove unreferenced LFS objects from DB and fs
Fixes #3666
See merge request !5901
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 efe0ac9c965..9fec2ad6bf7 100644 --- a/config/initializers/1_settings.rb +++ b/config/initializers/1_settings.rb @@ -307,6 +307,9 @@ Settings.cron_jobs['prune_old_events_worker']['job_class'] = 'PruneOldEventsWork Settings.cron_jobs['trending_projects_worker'] ||= Settingslogic.new({}) Settings.cron_jobs['trending_projects_worker']['cron'] = '0 1 * * *' Settings.cron_jobs['trending_projects_worker']['job_class'] = 'TrendingProjectsWorker' +Settings.cron_jobs['remove_unreferenced_lfs_objects_worker'] ||= Settingslogic.new({}) +Settings.cron_jobs['remove_unreferenced_lfs_objects_worker']['cron'] ||= '20 0 * * *' +Settings.cron_jobs['remove_unreferenced_lfs_objects_worker']['job_class'] = 'RemoveUnreferencedLfsObjectsWorker' # # GitLab Shell |