From a888f7e5420fec0588ff2d315f4739980189def6 Mon Sep 17 00:00:00 2001 From: Camila Date: Tue, 12 Sep 2023 15:47:55 +0200 Subject: [PATCH] Continue syncing when there is no error. Signed-off-by: Camila --- src/libsync/bulkpropagatorjob.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/libsync/bulkpropagatorjob.cpp b/src/libsync/bulkpropagatorjob.cpp index aabf72166b287..9a25201f53c23 100644 --- a/src/libsync/bulkpropagatorjob.cpp +++ b/src/libsync/bulkpropagatorjob.cpp @@ -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? @@ -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; }