Currently we use the upload and download function to create the operations object and then we loop over the entries in the operations object using upload and download again to transfer the data.
That means we are calculating the diffs twice.
Replace the for loops with upload and download in the class TransferDataThread with execute_upload and execute_download and use the pbar parameter to get the current status of the upload.
Currently we use the upload and download function to create the operations object and then we loop over the entries in the operations object using upload and download again to transfer the data. That means we are calculating the diffs twice.
Replace the for loops with upload and download in the class
TransferDataThread
withexecute_upload
andexecute_download
and use the pbar parameter to get the current status of the upload.