rclone/backend/seafile
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
..
api seafile: fix accessing libraries > 2GB on 32 bit systems - fixes #4588 2020-09-15 21:55:10 +02:00
object.go doc: fix typos throughout docs and code 2020-05-25 11:23:58 +01:00
pacer.go fs: deglobalise the config #4685 2020-11-26 16:40:12 +00:00
seafile.go Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00
seafile_internal_test.go seafile: New backend for seafile server 2020-05-06 17:33:22 +00:00
seafile_test.go seafile: New backend for seafile server 2020-05-06 17:33:22 +00:00
webapi.go Fix excessive retries missing --max-duration timeout - fixes #4504 2021-03-13 09:25:44 +00:00