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 uploading large number of images fails with 429 #2169

Merged
merged 1 commit into from
Jan 5, 2024
Merged

Conversation

ildyria
Copy link
Member

@ildyria ildyria commented Jan 5, 2024

Fixes #2166

@ildyria ildyria requested a review from a team January 5, 2024 09:34
@ildyria ildyria added the Review: easy Easy review expected: probably just need a quick to go through. label Jan 5, 2024
@ildyria ildyria added this to the 5.0.3 milestone Jan 5, 2024
Copy link

codecov bot commented Jan 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a968352) 50.65% compared to head (ef52cdc) 85.50%.
Report is 1 commits behind head on master.

Additional details and impacted files

@ildyria ildyria self-assigned this Jan 5, 2024
Copy link
Contributor

@d7415 d7415 left a comment

Choose a reason for hiding this comment

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

I get that these were chosen as "no-one will ever hit these", but they do seem a bit much.
Maybe 600:1 and 20? 10 per second for a minute still feels like a lot, and a single upload taking 20 minutes also seems a lot.

I'm going to hit "Approve" anyway, because I also don't see any particular reason we need limits here 🤷‍♂️

config/livewire.php Show resolved Hide resolved
config/livewire.php Show resolved Hide resolved
@ildyria ildyria merged commit 96c785a into master Jan 5, 2024
33 checks passed
@ildyria ildyria deleted the fix-2166 branch January 5, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review: easy Easy review expected: probably just need a quick to go through.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Uploading many (>100) images failes with error 429 when using livewire
2 participants