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 Oct 10, 2023
1 parent b47cd71 commit b3d9478
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 @@ -279,15 +279,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 b3d9478

Please sign in to comment.