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

Bugfix/slow bulk upload #8048

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Bugfix/slow bulk upload #8048

wants to merge 5 commits into from

Conversation

mgallien
Copy link
Collaborator

No description provided.

@mgallien mgallien added this to the 3.16.3 milestone Mar 19, 2025
Comment on lines +105 to 111
if (oneDevice._device->isOpen()) {
if (!oneDevice._device->errorString().isEmpty()) {
qCWarning(lcPutMultiFileJob) << "oneDevice has error:" << oneDevice._device->errorString();
}
}

if (oneDevice._device->isOpen()) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can't we condense this?

Suggested change
if (oneDevice._device->isOpen()) {
if (!oneDevice._device->errorString().isEmpty()) {
qCWarning(lcPutMultiFileJob) << "oneDevice has error:" << oneDevice._device->errorString();
}
}
if (oneDevice._device->isOpen()) {
if (oneDevice._device->isOpen()) {
if (!oneDevice._device->errorString().isEmpty()) {
qCWarning(lcPutMultiFileJob) << "oneDevice has error:" << oneDevice._device->errorString();
}

@mgallien mgallien force-pushed the bugfix/slowBulkUpload branch from 197bbc5 to 6316d84 Compare March 24, 2025 15:01
Copy link

Artifact containing the AppImage: nextcloud-appimage-pr-8048.zip

SHA256 checksum: d1a52d517e5fed9e6d0c0cdcf5eb5f3ad2d8a363ab12e42a76a30158f4798bb1

To test this change/fix you can download the above artifact file, unzip it, and run it.

Please make sure to quit your existing Nextcloud app and backup your data.

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
16 New Code Smells (required ≤ 0)
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants