diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-11 21:07:55 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-11 21:07:55 +0300 |
commit | 11df4bf91b8cf9ac7bb601241992e300eebf684c (patch) | |
tree | d3c2360dbd3edec006a09ed150267dc202020a91 /app/models/instance_configuration.rb | |
parent | 6282dd78339f98cbc5624e7fdf744a342d3d8b73 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/models/instance_configuration.rb')
-rw-r--r-- | app/models/instance_configuration.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/instance_configuration.rb b/app/models/instance_configuration.rb index 00e55d0fd89..49e8a04e251 100644 --- a/app/models/instance_configuration.rb +++ b/app/models/instance_configuration.rb @@ -47,6 +47,7 @@ class InstanceConfiguration { max_attachment_size: application_settings[:max_attachment_size].megabytes, receive_max_input_size: application_settings[:receive_max_input_size]&.megabytes, + max_export_size: application_settings[:max_export_size] > 0 ? application_settings[:max_export_size].megabytes : nil, max_import_size: application_settings[:max_import_size] > 0 ? application_settings[:max_import_size].megabytes : nil, diff_max_patch_bytes: application_settings[:diff_max_patch_bytes].bytes, max_artifacts_size: application_settings[:max_artifacts_size].megabytes, |