abraunegg-onedrive/src
Mateusz P-K f6002311cd
Improve --single-directory sync performance (#992)
* Remove erroneous 'return' statement which could prematurely end processing all changes returned from OneDrive
* Improve --single-directory sync performance

This commit modifies code inside applyDifferences function,
the part responsible for deleting changes/moving them out
of the selected sync directories. This change makes an HTTP
request responsible for checking whether a changed item still
exists on OneDrive only be sent only if it may in fact influence
whether an item will be deleted from the synced folder or not
or just discarded.

This makes an enormous performance boost, because it limits
redundant HTTP requests that ask about changed items that will
be discarded or not.

Signed-off-by: Mateusz P-K <mateusz.kaplon@gmail.com>
2020-07-21 15:19:41 +10:00
..
notifications deal with unavailable dbus server (Issue: #365) 2019-01-30 17:34:07 +09:00
config.d Implement OneDrive Business Shared Folders Support (Issue #459) (#473) 2020-06-27 19:10:37 +10:00
itemdb.d Implement OneDrive Business Shared Folders Support (Issue #459) (#473) 2020-06-27 19:10:37 +10:00
log.d Update logfile output spacing (#944) 2020-06-05 06:00:42 +10:00
main.d Implement OneDrive Business Shared Folders Support (Issue #459) (#473) 2020-06-27 19:10:37 +10:00
monitor.d Update 'skip_dir' and 'skip_file' pattern matching and handling for --monitor (#986) 2020-07-07 17:39:09 +10:00
onedrive.d Implement OneDrive Business Shared Folders Support (Issue #459) (#473) 2020-06-27 19:10:37 +10:00
progress.d Update progress bar to be more accurate when downloading large files (#888) 2020-04-26 06:52:29 +10:00
qxor.d Fix module std.digest.digest is deprecated (#916) 2020-05-12 10:50:36 +10:00
selective.d Update 'skip_dir' and 'skip_file' pattern matching and handling (Issue #982) (#983) 2020-07-07 05:17:03 +10:00
sqlite.d Resolve issues identified by Valgrind (#910) 2020-05-20 11:37:11 +10:00
sync.d Improve --single-directory sync performance (#992) 2020-07-21 15:19:41 +10:00
upload.d Catch unhandled MonitorException when inotify throws an error (Issue #903) (#905) 2020-05-06 07:20:13 +10:00
util.d Resolve issues identified by Valgrind (#910) 2020-05-20 11:37:11 +10:00