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

Improve retry failed uploads function #12911

Merged
merged 6 commits into from
May 2, 2024

Conversation

JonasMayerDev
Copy link
Collaborator

Simple optimization to the retry Uploads function.
The main improvement is to not restart the worker for every upload, but just update the database and in the end restart the upload worker for each account once.

Should solve some inconsistencies in the upload tab when handling a lot of files (around 7000).

  • Tests written, or not not needed

Copy link

Codacy

Lint

TypemasterPR
Warnings7171
Errors33

SpotBugs

CategoryBaseNew
Bad practice6767
Correctness7272
Dodgy code341341
Experimental11
Internationalization77
Malicious code vulnerability22
Multithreaded correctness66
Performance5757
Security1919
Total572572

Copy link

APK file: https://www.kaminsky.me/nc-dev/android-artifacts/12911.apk

qrcode

To test this change/fix you can simply download above APK file and install and test it in parallel to your existing Nextcloud app.

@alperozturk96 alperozturk96 merged commit becdbd6 into master May 2, 2024
21 checks passed
@tobiasKaminsky tobiasKaminsky deleted the improve-retry-failed-uploads-function branch October 7, 2024 05:28
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.

2 participants