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

Limit amount of concurrent tus requests #8987

Merged
merged 1 commit into from
May 5, 2023

Conversation

JammingBen
Copy link
Collaborator

Description

Limits the amount of concurrent tus requests when uploading to 5. The limit defaulted to 20 before, which a normal modern browser can't handle anyways. I benchmarked the upload time before and after the change with a ~700MB folder -> it was roughly the same.

This fixes an issue where the access token renewal failed during an ongoing upload because of the sheer amount of pending requests.

Related Issue

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Technical debt
  • Tests

@sonarcloud
Copy link

sonarcloud bot commented May 5, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@kulmann kulmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@AlexAndBear AlexAndBear merged commit eb8ce91 into stable-7.0 May 5, 2023
@delete-merged-branch delete-merged-branch bot deleted the limit-concurrent-tus-requests branch May 5, 2023 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants