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: flickering loading indicator on batch delete #10763

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

JammingBen
Copy link
Collaborator

Description

Fixes the flickering loading indicator when batch deleting a bunch of files. Since delete operations are running in parallel, using the setProgress method for the loading indicator won't work. This is only suited for serial requests.

Also adds a concurrent request limit via pqueue. This stops the network from being overrun with concurrent 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
  • Documentation
  • Maintenance (e.g. dependency updates or tooling)

@JammingBen JammingBen self-assigned this Apr 11, 2024
Fixes the flickering loading indicator when batch deleting a bunch of files. Since delete operations are running in parallel, using the `setProgress` method for the loading indicator won't work. This is only suited for serial requests.

Also adds a concurrent request limit via pqueue. This stops the network from being overrun with concurrent requests.
Copy link

sonarcloud bot commented Apr 11, 2024

@JammingBen JammingBen marked this pull request as ready for review April 11, 2024 09:01
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.

👍

@JammingBen JammingBen merged commit d8532e6 into stable-8.0 Apr 18, 2024
3 checks passed
@delete-merged-branch delete-merged-branch bot deleted the batch-delete-perf branch April 18, 2024 12:34
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