chStaiger / iBridges-Gui

A graphical user interface to iRODS employing the iBridges python package.
https://chstaiger.github.io/iBridges-Gui/
GNU General Public License v3.0
15 stars 8 forks source link

Improve upload and download speed #244

Closed chStaiger closed 1 month ago

chStaiger commented 1 month ago

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.