mirror of
https://github.com/rclone/rclone.git
synced 2024-12-02 05:14:55 +01:00
652d3cdee4
Before this change we truncated files in the backing store regardless of whether we needed to or not. After, we check to see if the file is the right size and don't truncate if it is. Apparently Windows Defender likes to check executables each time they are modified, and truncating a file to its existing size is enough to trigger the Windows Defender scan. This was causing a big slowdown for operations which opened and closed the file a lot, such as looking at properties on an executable. See: https://forum.rclone.org/t/for-mount-sftp-why-right-click-on-exe-file-is-so-slow-until-it-freezes/33830 |
||
---|---|---|
.. | ||
downloaders | ||
writeback | ||
cache_test.go | ||
cache.go | ||
item_test.go | ||
item.go |