diff options
author | James Lopez <james@jameslopez.es> | 2016-06-14 22:11:21 +0200 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-06-14 22:11:21 +0200 |
commit | 36ccaca35a7be19498d779a5b781cc4e3f0dede8 (patch) | |
tree | e503c991277f048f22fc5899434484e7ff07818a /app/workers | |
parent | dee6fba5c9df60be370b881f074fac13d16b83ed (diff) | |
download | gitlab-ce-36ccaca35a7be19498d779a5b781cc4e3f0dede8.tar.gz |
project export archiver
Diffstat (limited to 'app/workers')
-rw-r--r-- | app/workers/gitlab_project_archive_worker.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/workers/gitlab_project_archive_worker.rb b/app/workers/gitlab_project_archive_worker.rb new file mode 100644 index 00000000000..63e7086d41a --- /dev/null +++ b/app/workers/gitlab_project_archive_worker.rb @@ -0,0 +1,9 @@ +class GitlabProjectArchiveWorker + include Sidekiq::Worker + + sidekiq_options queue: :default + + def perform + Project.archive_gitlab_exports! + end +end |