mirror of
https://github.com/rclone/rclone.git
synced 2025-02-14 21:23:01 +02:00
When rclone is busy doing lots of very long uploads it doesn't refresh the token. Amazon will fail uploads if they finish when the token is more than 1 Hour past expiry. Fix this by keeping track of the number of uploads and refreshing the token when the token expires if there is an upload in progress.