Commit 2bf0f995 authored by Stan Hu's avatar Stan Hu

Merge branch 'georgekoltsov/change-import-export-uploader-tmp-dirs' into 'master'

Update ImportExportUploader cache & work dirs

See merge request gitlab-org/gitlab!29142
parents 82a283d2 f2a459b3
...@@ -14,4 +14,12 @@ class ImportExportUploader < AttachmentUploader ...@@ -14,4 +14,12 @@ class ImportExportUploader < AttachmentUploader
def move_to_cache def move_to_cache
false false
end end
def work_dir
File.join(Settings.shared['path'], 'tmp', 'work')
end
def cache_dir
File.join(Settings.shared['path'], 'tmp', 'cache')
end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment