The documentation for --cutoff-mode
says:
I read this to mean that it doesn't impact --max-duration
. Either way I haven't modified the default here so it should be set to hard
.
Seems like the same bug (or related), specially if if you are surprised by this behaviour. I wasn't sure what the normal or expected behaviour is for this flag.
Experiment points to unexpected behaviour
From Detecting incomplete file download from Google Photos - #8 by pparth
So this experiment has run now at least a couple of times and I'm finding that rclone
does not exit even an hour after --max-duration
is reached.
Command: timeout -v --preserve-status -k 1m 7200s rclone sync --transfers=10 --max-duration=58m --retries 1 --timeout 1m --fast-list --gphotos-include-archived --gphotos-start-year=1900 --log-level INFO --log-file=REDACTED.txt gphotos:album album
Will add logs in separate replies to this thread to avoid hitting the post character limit.