Skip to content

Commit 3427b61

Browse files
committed
Force to always use checksum
1 parent 05d44e3 commit 3427b61

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

readthedocs/storage/rclone.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ class RClone:
3838
default_options = [
3939
# Number of file transfers to run in parallel.
4040
"--transfers=8",
41+
# Skip based on checksum (if available) & size, not mod-time & size.
42+
"--checksum",
4143
"--verbose",
4244
]
4345
env_vars = {}
@@ -80,7 +82,7 @@ def execute(self, action, args, options=None):
8082
command,
8183
capture_output=True,
8284
env=env,
83-
# TODO: Fail or let the called decide what to do?
85+
# TODO: Fail or let the caller decide what to do?
8486
check=True,
8587
)
8688
log.debug(

0 commit comments

Comments
 (0)