diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-11-01 02:36:43 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-11-01 02:36:43 -0800 |
| commit | 8750cac09054b918e95661d53d428ba86019a6f1 (patch) | |
| tree | dd6c4005278bf3681762cc164b814fbcfdd51593 /weed/command/mount_std.go | |
| parent | ef908e166bf3a00160d4b2bb1b5b9ef6657acec7 (diff) | |
| download | seaweedfs-8750cac09054b918e95661d53d428ba86019a6f1.tar.xz seaweedfs-8750cac09054b918e95661d53d428ba86019a6f1.zip | |
move to util.RetryWaitTime
Diffstat (limited to 'weed/command/mount_std.go')
| -rw-r--r-- | weed/command/mount_std.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 649450e54..83cb352ff 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -5,8 +5,6 @@ package command import ( "context" "fmt" - "github.com/chrislusf/seaweedfs/weed/filer" - "github.com/chrislusf/seaweedfs/weed/filesys/meta_cache" "os" "os/user" "path" @@ -15,6 +13,8 @@ import ( "strings" "time" + "github.com/chrislusf/seaweedfs/weed/filesys/meta_cache" + "github.com/seaweedfs/fuse" "github.com/seaweedfs/fuse/fs" @@ -33,7 +33,7 @@ func runMount(cmd *Command, args []string) bool { if *mountReadRetryTime < time.Second { *mountReadRetryTime = time.Second } - filer.ReadWaitTime = *mountReadRetryTime + util.RetryWaitTime = *mountReadRetryTime umask, umaskErr := strconv.ParseUint(*mountOptions.umaskString, 8, 64) if umaskErr != nil { |
