Skip to content

Commit

Permalink
Cancel sync after try with smaller bulk upload batch size also throws…
Browse files Browse the repository at this point in the history
… error.

Signed-off-by: Camila <[email protected]>
  • Loading branch information
Camila committed Sep 12, 2023
1 parent 4c48f25 commit 138b89f
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/libsync/bulkpropagatorjob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -280,15 +280,16 @@ void BulkPropagatorJob::checkPropagationIsDone()
// just wait for the other job to finish.
return;
}

qCInfo(lcBulkPropagatorJob) << "final status" << _finalStatus;
emit finished(_finalStatus);
propagator()->scheduleNextJob();
} else {
if (handleBatchSize()) {
scheduleSelfOrChild();
return;
}
}

qCInfo(lcBulkPropagatorJob) << "final status" << _finalStatus;
emit finished(_finalStatus);
propagator()->scheduleNextJob();
}

void BulkPropagatorJob::slotComputeTransmissionChecksum(SyncFileItemPtr item,
Expand Down

0 comments on commit 138b89f

Please sign in to comment.