Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(uploads): Fix file upload async cutoff #381

Merged
merged 2 commits into from
Feb 14, 2024
Merged

fix(uploads): Fix file upload async cutoff #381

merged 2 commits into from
Feb 14, 2024

Conversation

hannasage
Copy link

@hannasage hannasage commented Feb 13, 2024

Purpose

This PR fixes an issue that caused larger-than-average files to be cutoff during upload, never making it to S3 for storage, but still existing as a record on the Package Attachments.

Linked Issues to Close

https://qmacbis.atlassian.net/browse/OY2-27372

Approach

The fetch calls are awaited now.

Assorted Notes/Considerations/Learning

When calling a Promise.all() on an array of fetches, each one within should be awaited.

@hannasage hannasage added the type: FIX Submit bug fixes label Feb 13, 2024
@hannasage hannasage requested a review from mdial89f February 13, 2024 19:30
@hannasage hannasage self-assigned this Feb 13, 2024
@hannasage hannasage marked this pull request as ready for review February 13, 2024 19:39
@mdial89f mdial89f added the status: READY PR is ready for review label Feb 14, 2024
@hannasage hannasage merged commit e999725 into master Feb 14, 2024
16 checks passed
@hannasage hannasage deleted the fxflupld branch February 14, 2024 17:11
Copy link
Contributor

🎉 This PR is included in version 1.5.0-val.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released on @val status: READY PR is ready for review type: FIX Submit bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants