Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stop ReadFromWithConcurrency sending more data than it needs to
It was discovered that the ReadFrom method for uploading files in pkg/sftp was sending more data than it needed to. This was tracked down to the ReadFromWithConcurrency method forgetting to truncate the packets it was sending to the size Read. This was giving the remote server more work to do as it was writing and re-writing parts of a file. See: rclone/rclone#6763
- Loading branch information