mirror of
https://github.com/rclone/rclone.git
synced 2024-11-22 16:34:30 +01:00
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
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user