1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-08 19:43:58 +00:00
Files
rclone/fs
Nick Craig-Wood 4013bc4a4c Fix excessive retries missing --max-duration timeout - fixes #4504
This change checks the context whenever rclone might retry, and
doesn't retry if the current context has an error.

This fixes the pathological behaviour of `--max-duration` refusing to
exit because all the context deadline exceeded errors were being
retried.

This unfortunately meant changing the shouldRetry logic in every
backend and doing a lot of context propagation.

See: https://forum.rclone.org/t/add-flag-to-exit-immediately-when-max-duration-reached/22723
2021-03-13 09:25:44 +00:00
..
2020-10-14 15:21:31 +01:00
2018-08-21 10:58:59 +01:00
2019-06-19 11:59:46 +01:00
2020-10-28 18:16:23 +00:00
2021-02-02 16:30:58 +00:00