mirror of
https://github.com/rclone/rclone.git
synced 2024-11-25 09:41:44 +08:00
156c372cd7
Before this change, when using --cutoff-mode=soft and --max-duration rclone deadlocked when the cutoff limit was reached. This was because the sync objects Pipe became full and nothing was emptying it because the cutoff was reached. This changes the context for putting items into the pipe to be the one that gets cancelled when the cutoff is reached. See: https://forum.rclone.org/t/sync-command-hanging-using-cutoff-mode-soft-with-max-duration-time-flags/40866 |
||
---|---|---|
.. | ||
pipe_test.go | ||
pipe.go | ||
rc_test.go | ||
rc.go | ||
sync_test.go | ||
sync.go |