diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-05 19:14:39 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-08-05 19:14:39 +0000 |
commit | b6254abd9bce19a80a4720e82761cbafb627c3ef (patch) | |
tree | 72515e3b4b6296b3f989710b64e83aafd61db6f2 /doc/security/project_import_decompressed_archive_size_limits.md | |
parent | cfe148f098348078bbbeded617a2bfb3a454d48a (diff) | |
download | gitlab-ce-12-10-stable.tar.gz |
Add latest changes from gitlab-org/gitlab@12-10-stable-ee12-10-stable
Diffstat (limited to 'doc/security/project_import_decompressed_archive_size_limits.md')
-rw-r--r-- | doc/security/project_import_decompressed_archive_size_limits.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/doc/security/project_import_decompressed_archive_size_limits.md b/doc/security/project_import_decompressed_archive_size_limits.md new file mode 100644 index 00000000000..74b7a860c5b --- /dev/null +++ b/doc/security/project_import_decompressed_archive_size_limits.md @@ -0,0 +1,28 @@ +--- +type: reference, howto +--- + +# Project Import Decompressed Archive Size Limits + +> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/31564) in GitLab 12.10. + +When using [Project Import](../user/project/settings/import_export.md), the size of the decompressed project archive is limited to 10Gb. + +If decompressed size exceeds this limit, `Decompressed archive size validation failed` error is returned. + +## Enable/disable size validation + +Decompressed size validation is enabled by default. +If you have a project with decompressed size exceeding this limit, +it is possible to disable the validation by turning off the +`validate_import_decompressed_archive_size` feature flag. + +Start a [Rails console](../administration/troubleshooting/debug.md#starting-a-rails-console-session). + +```ruby +# Disable +Feature.disable(:validate_import_decompressed_archive_size) + +# Enable +Feature.enable(:validate_import_decompressed_archive_size) +``` |