1
mirror of https://github.com/rclone/rclone synced 2024-12-02 11:53:45 +01:00
rclone/backend/swift
Nick Craig-Wood 9ee9fe3885 swift: obey Retry-After to fix OVH restore from cold storage
In as many methods as possible we attempt to obey the Retry-After
header where it is provided.

This means that when objects are being requested from OVH cold storage
rclone will sleep the correct amount of time before retrying.

If the sleeps are short it does them immediately, if long then it
returns an ErrorRetryAfter which will cause the outer retry to sleep
before retrying.

Fixes #3041
2019-03-25 13:41:34 +00:00
..
auth.go swift: work around token expiry on CEPH 2019-03-18 13:30:59 +00:00
swift_internal_test.go swift: obey Retry-After to fix OVH restore from cold storage 2019-03-25 13:41:34 +00:00
swift_test.go backend: add fstests.ChunkedUploadConfig 2018-10-11 14:47:58 +01:00
swift.go swift: obey Retry-After to fix OVH restore from cold storage 2019-03-25 13:41:34 +00:00