mirror of
https://github.com/rclone/rclone
synced 2025-03-30 15:56:10 +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