Skip to content

Commit

Permalink
Continue syncing when there is no error.
Browse files Browse the repository at this point in the history
Signed-off-by: Camila <hello@camila.codes>
  • Loading branch information
Camila committed Sep 12, 2023
1 parent 08f7fc2 commit afeca8e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libsync/bulkpropagatorjob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ bool BulkPropagatorJob::handleBatchSize()
// no error, no batch size to change
if (_finalStatus == SyncFileItem::Success || _finalStatus == SyncFileItem::NoStatus) {
qCDebug(lcBulkPropagatorJob) << "No error, no need to change the bulk upload batch size!";
return false;
return true;
}

// change this value more times? or try only once?
Expand All @@ -127,7 +127,6 @@ bool BulkPropagatorJob::handleBatchSize()

// try to upload with half of the batch size
_currentBatchSize = halfBatchSize;

qCDebug(lcBulkPropagatorJob) << "There was an error, sync again with bulk upload batch size cut to half!";
return true;
}
Expand Down

0 comments on commit afeca8e

Please sign in to comment.