cmount: fix mount dropping on macOS by setting --daemon-timeout 10m
Previously rclone set --daemon-timeout to 15m by default. However osxfuse seems to be ignoring that value since it is above the maximum value of 10m. This is conjecture since the source of osxfuse is no longer available. Setting the value to 10m seems to resolve the problem. See: https://forum.rclone.org/t/rclone-mount-frequently-drops-when-using-plex/22352
This commit is contained in:
parent
4b5fe3adad
commit
04a8859d29
1 changed files with 1 additions and 1 deletions
|
@ -71,7 +71,7 @@ const (
|
||||||
func init() {
|
func init() {
|
||||||
// DaemonTimeout defaults to non zero for macOS
|
// DaemonTimeout defaults to non zero for macOS
|
||||||
if runtime.GOOS == "darwin" {
|
if runtime.GOOS == "darwin" {
|
||||||
DefaultOpt.DaemonTimeout = 15 * time.Minute
|
DefaultOpt.DaemonTimeout = 10 * time.Minute
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue