From 04a8859d29f7c645bb1abe550fdabe1b59dd8d0d Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 21 Feb 2021 12:56:19 +0000 Subject: [PATCH] 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 --- cmd/mountlib/mount.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/mountlib/mount.go b/cmd/mountlib/mount.go index 036505b7b..d8dce30c7 100644 --- a/cmd/mountlib/mount.go +++ b/cmd/mountlib/mount.go @@ -71,7 +71,7 @@ const ( func init() { // DaemonTimeout defaults to non zero for macOS if runtime.GOOS == "darwin" { - DefaultOpt.DaemonTimeout = 15 * time.Minute + DefaultOpt.DaemonTimeout = 10 * time.Minute } }