mirror of
https://github.com/rclone/rclone.git
synced 2025-04-08 16:54:17 +02:00
Before this change we released the ssh connection back to the pool before the upload was finished. This meant that uploads were re-using the same ssh connection which reduces throughput. This releases the ssh connection back to the pool only after the upload has finished, or on error state. See: https://forum.rclone.org/t/sftp-backend-opens-less-connection-than-expected/40245