1
mirror of https://github.com/rclone/rclone synced 2024-12-22 13:03:02 +01:00

vfs: change default --vfs-read-wait to 20ms

In my testing with local and remote storage this is a good compromise
between delaying the seeks and failing to wait for in sequence reads.

See: https://forum.rclone.org/t/constantly-high-iowait-add-log/14156/40
This commit is contained in:
Nick Craig-Wood 2020-05-18 17:37:09 +01:00
parent 0f9267d5fc
commit 951099dbed

View File

@ -53,5 +53,5 @@ var DefaultOpt = Options{
CacheMaxSize: -1, CacheMaxSize: -1,
CaseInsensitive: runtime.GOOS == "windows" || runtime.GOOS == "darwin", // default to true on Windows and Mac, false otherwise CaseInsensitive: runtime.GOOS == "windows" || runtime.GOOS == "darwin", // default to true on Windows and Mac, false otherwise
WriteWait: 1000 * time.Millisecond, WriteWait: 1000 * time.Millisecond,
ReadWait: 5 * time.Millisecond, ReadWait: 20 * time.Millisecond,
} }