PPOP-242 [gateway] [api-v1] fix: solve file upload issue for big files #71
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fix #PPOP-242
Description
Issues in uploading large files through b2b and b2c.
Has this been tested ?
Yes, locally with a
nevidis-recette
environment.In env.custom, add the following lines (example if we need to handle files as large as 30mb):
As these env vars are already implemented in the code, making sure to use the right values for each customer will solve the issue encountered.
Tests have been conducted locally with the files attached here:
big_file.pdf
light_file.pdf