Nick Craig-Wood
4ac875a811
sync: fix --max-duration and --cutoff-mode soft
...
Before this change using --max-duration and --cutoff-mode soft would
work like --cutoff-mode hard.
This bug was introduced in this commit which made transfers be
cancelable - before that transfers couldn't be canceled.
122a47fba655704b accounting: Allow transfers to be canceled with context #3257
This change adds the timeout to the input context for reading files
rather than the transfer context so the files transfers themselves
aren't canceled if --cutoff-mode soft is in action.
This also adds a test for cutoff mode soft and max duration which was
missing.
See: https://forum.rclone.org/t/max-duration-and-retries-not-working-correctly/27738
2022-06-16 22:13:50 +01:00
..
2022-06-13 21:13:50 +02:00
2022-06-13 21:13:50 +02:00
2021-11-04 12:50:43 +01:00
2020-10-14 15:21:31 +01:00
2022-05-13 09:25:48 +01:00
2022-06-13 21:13:50 +02:00
2022-06-09 14:26:43 +01:00
2021-09-09 20:43:59 +03:00
2022-06-13 21:13:50 +02:00
2022-06-13 21:13:50 +02:00
2021-11-17 18:38:12 +03:00
2022-06-13 21:13:50 +02:00
2021-11-11 15:16:45 +01:00
2021-11-07 11:53:30 +00:00
2022-06-13 21:13:50 +02:00
2021-11-07 11:53:30 +00:00
2019-10-01 16:29:58 +01:00
2022-06-16 22:13:50 +01:00
2022-06-13 21:13:50 +02:00
2022-06-16 22:13:50 +01:00
2022-06-08 17:11:52 +02:00
2021-05-14 14:07:44 +01:00
2022-06-08 17:56:37 +02:00
2021-04-27 02:25:52 +03:00
2021-11-07 11:53:30 +00:00
2018-08-21 10:58:59 +01:00
2019-02-07 11:57:26 +00:00
2020-11-26 16:40:12 +00:00
2022-05-17 11:08:37 +01:00
2021-07-20 12:09:38 +01:00
2021-04-27 02:25:52 +03:00
2021-11-07 11:53:30 +00:00
2021-02-07 14:56:41 +00:00
2021-11-07 11:53:30 +00:00
2021-10-02 23:45:16 +03:00
2021-10-02 23:45:16 +03:00
2018-01-15 17:51:14 +00:00
2021-03-11 20:40:29 +03:00
2019-07-28 18:47:38 +01:00
2019-06-09 15:57:05 +01:00
2021-02-07 14:56:41 +00:00
2021-11-07 11:53:30 +00:00
2021-06-14 14:42:49 +03:00
2020-11-09 18:05:54 +00:00
2020-06-30 12:01:36 +01:00
2021-11-07 11:53:30 +00:00
2021-11-07 11:53:30 +00:00
2021-02-07 14:56:41 +00:00
2021-11-07 11:53:30 +00:00
2021-10-18 13:28:22 +01:00
2022-05-12 20:27:13 +01:00
2022-05-12 20:27:13 +01:00
2021-06-14 14:42:49 +03:00
2022-05-12 08:49:20 +01:00
2022-06-13 21:13:50 +02:00
2021-06-14 14:42:49 +03:00
2022-03-28 11:47:27 +01:00
2022-04-28 16:29:13 +01:00
2022-04-28 16:29:13 +01:00
2022-04-28 16:29:13 +01:00
2022-05-17 11:08:37 +01:00
2021-08-31 09:57:27 +02:00
2021-11-07 11:53:30 +00:00
2021-11-03 21:44:09 +00:00
2021-11-07 11:53:30 +00:00
2021-10-14 17:15:50 +01:00
2022-05-17 12:10:01 +01:00
2022-04-04 20:35:17 +01:00
2022-05-17 12:10:01 +01:00
2022-05-17 12:10:01 +01:00