diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-01-20 23:30:14 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-01-20 23:30:14 -0800 |
| commit | 84f05787f8eecfcb61e49882346ad5855b6bb784 (patch) | |
| tree | ad27ed52332e5eceee1ee2332723ccfb9c7e362d /weed/command/mount_std.go | |
| parent | f98817cfe655d0285ed35f6d30068aa15938bd3d (diff) | |
| download | seaweedfs-84f05787f8eecfcb61e49882346ad5855b6bb784.tar.xz seaweedfs-84f05787f8eecfcb61e49882346ad5855b6bb784.zip | |
mount: limit background requests and congestion threshold
Diffstat (limited to 'weed/command/mount_std.go')
| -rw-r--r-- | weed/command/mount_std.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 7e75b082d..9e955e344 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -150,6 +150,8 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { fuse.MaxReadahead(1024 * 128), fuse.AsyncRead(), fuse.WritebackCache(), + fuse.MaxBackground(128), + fuse.CongestionThreshold(128), } options = append(options, osSpecificMountOptions()...) |
