Add configurable AS for decompressed archive size limits
requested to merge bmarjanovic/add-configurable-application-setting-for-decompressed-archive-size-limits into master
What does this MR do and why?
As per Add configurable application setting for decomp... (#387932 - closed) we're introducing new application settings for Decompression ratio for imported archives
.
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Checkout the branch
- Validate there is new setting's field
- Validate the new Import Export file can go up to X times new decompression ratio
The easiest way would be to use rails console
, and call the service from there:
tmpdir = Dir.mktmpdir('bulk_imports')
filename = 'name_of_the_file_to_decompress.tar.gz'
BulkImports::FileDecompressionService.new(tmpdir: tmpdir, filename: filename).execute
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #387932 (closed)
Edited by Bojan Marjanovic