Skip to content

Commit

Permalink
remote: loosen vfs cache poll interval
Browse files Browse the repository at this point in the history
Use dropbox-pacer-min-sleep instead of tpslimit
  • Loading branch information
saltydk committed Aug 6, 2023
1 parent 91f7a70 commit e031bd8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions roles/remote/templates/dropbox.j2
Original file line number Diff line number Diff line change
Expand Up @@ -29,13 +29,12 @@ ExecStart=/usr/bin/rclone mount \
--buffer-size=32M \
--dir-cache-time=8760h \
--disable-http2 \
--dropbox-pacer-min-sleep=85ms \
--poll-interval=30s \
--rc \
--rc-no-auth \
--rc-addr=localhost:{{ rclone_remort_port }} \
--syslog \
--tpslimit=12 \
--tpslimit-burst=0 \
--timeout=10m \
--umask=002 \
--use-mmap \
Expand All @@ -44,7 +43,7 @@ ExecStart=/usr/bin/rclone mount \
--vfs-cache-max-age={{ item.vfs_cache.max_age | default('504h') }} \
--vfs-cache-max-size={{ item.vfs_cache.size | default('50G') }} \
--vfs-cache-mode=full \
--vfs-cache-poll-interval=30s \
--vfs-cache-poll-interval=1m0s \
--vfs-fast-fingerprint \
--vfs-read-ahead=128M \
{% endif %}
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 @@ -47,7 +47,7 @@ ExecStart=/usr/bin/rclone mount \
--vfs-cache-max-age={{ item.vfs_cache.max_age | default('504h') }} \
--vfs-cache-max-size={{ item.vfs_cache.size | default('50G') }} \
--vfs-cache-mode=full \
--vfs-cache-poll-interval=30s \
--vfs-cache-poll-interval=1m0s \
--vfs-fast-fingerprint \
--vfs-read-ahead=128M \
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion roles/remote/templates/sftp.j2
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ExecStart=/usr/bin/rclone mount \
--vfs-cache-max-age={{ item.vfs_cache.max_age | default('504h') }} \
--vfs-cache-max-size={{ item.vfs_cache.size | default('50G') }} \
--vfs-cache-mode=full \
--vfs-cache-poll-interval=30s \
--vfs-cache-poll-interval=1m0s \
--vfs-fast-fingerprint \
{% endif %}
-v \
Expand Down

0 comments on commit e031bd8

Please sign in to comment.