Skip to content

Commit

Permalink
remote: add vfs-fast-fingerprint
Browse files Browse the repository at this point in the history
  • Loading branch information
saltydk committed Jul 7, 2023
1 parent a857999 commit 73ec6c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion roles/remote/templates/dropbox.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Type=notify
ExecStartPre=/bin/sleep 10
ExecStart=/usr/bin/rclone mount \
--allow-other \
--attr-timeout=8760h \
{% if mounts.ipv4_only %}
--bind={{ ansible_default_ipv4.address }} \
{% endif %}
Expand All @@ -46,6 +45,7 @@ ExecStart=/usr/bin/rclone mount \
--vfs-cache-max-size={{ item.vfs_cache.size | default('50G') }} \
--vfs-cache-mode=full \
--vfs-cache-poll-interval=30s \
--vfs-fast-fingerprint \
--vfs-read-ahead=128M \
{% endif %}
--vfs-read-chunk-size-limit=2G \
Expand Down
2 changes: 1 addition & 1 deletion roles/remote/templates/google.j2
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ Type=notify
ExecStartPre=/bin/sleep 10
ExecStart=/usr/bin/rclone mount \
--allow-other \
--attr-timeout=8760h \
{% if mounts.ipv4_only %}
--bind={{ ansible_default_ipv4.address }} \
{% endif %}
Expand Down Expand Up @@ -49,6 +48,7 @@ ExecStart=/usr/bin/rclone mount \
--vfs-cache-max-size={{ item.vfs_cache.size | default('50G') }} \
--vfs-cache-mode=full \
--vfs-cache-poll-interval=30s \
--vfs-fast-fingerprint \
--vfs-read-ahead=128M \
{% endif %}
--vfs-read-chunk-size-limit=2G \
Expand Down
1 change: 1 addition & 0 deletions roles/remote/templates/sftp.j2
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ ExecStart=/usr/bin/rclone mount \
--vfs-cache-max-size={{ item.vfs_cache.size | default('50G') }} \
--vfs-cache-mode=full \
--vfs-cache-poll-interval=30s \
--vfs-fast-fingerprint \
{% endif %}
-v \
{{ item.remote }}:{{ lookup('vars', (item.remote | replace('-', '_') | lower) + '_folder', default='/mnt/local' if item.remote == 'feeder' else '') }} /mnt/remote/{{ item.remote }}
Expand Down

0 comments on commit 73ec6c1

Please sign in to comment.