Skip to content

Commit

Permalink
Force to always use checksum
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Jan 11, 2023
1 parent 05d44e3 commit 3427b61
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readthedocs/storage/rclone.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ class RClone:
default_options = [
# Number of file transfers to run in parallel.
"--transfers=8",
# Skip based on checksum (if available) & size, not mod-time & size.
"--checksum",
"--verbose",
]
env_vars = {}
Expand Down Expand Up @@ -80,7 +82,7 @@ def execute(self, action, args, options=None):
command,
capture_output=True,
env=env,
# TODO: Fail or let the called decide what to do?
# TODO: Fail or let the caller decide what to do?
check=True,
)
log.debug(
Expand Down

0 comments on commit 3427b61

Please sign in to comment.