diff options
author | Jacob Vosmaer <jacob@gitlab.com> | 2016-08-18 16:31:44 +0200 |
---|---|---|
committer | Jacob Vosmaer <jacob@gitlab.com> | 2016-12-15 12:26:36 +0100 |
commit | 6731ab5d76c34462f0b4424ff03c9646ad916b76 (patch) | |
tree | 0fc3f62485f5dfdf36d02e6407bba7640ea87aef /app/uploaders/gitlab_uploader.rb | |
parent | 01ffcceb81f1a556cdce15ec89c15be12dba9732 (diff) | |
download | gitlab-ce-6731ab5d76c34462f0b4424ff03c9646ad916b76.tar.gz |
Add Gitlab::Middleware::Multipart
Diffstat (limited to 'app/uploaders/gitlab_uploader.rb')
-rw-r--r-- | app/uploaders/gitlab_uploader.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/uploaders/gitlab_uploader.rb b/app/uploaders/gitlab_uploader.rb new file mode 100644 index 00000000000..02d7c601d6c --- /dev/null +++ b/app/uploaders/gitlab_uploader.rb @@ -0,0 +1,11 @@ +class GitlabUploader < CarrierWave::Uploader::Base + # Reduce disk IO + def move_to_cache + true + end + + # Reduce disk IO + def move_to_store + true + end +end |