diff options
| author | Chris Lu <chris.lu@gmail.com> | 2018-09-17 00:41:33 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2018-09-17 00:41:33 -0700 |
| commit | 4e1f1a0b92fe531c72db784c2f089b8d1b1e6c1e (patch) | |
| tree | 1b8d2d3984874d96dda5fcef16643e8e3535a9b6 | |
| parent | 788acdf5275dfb7610afe9144c17d9128d1737f6 (diff) | |
| download | seaweedfs-4e1f1a0b92fe531c72db784c2f089b8d1b1e6c1e.tar.xz seaweedfs-4e1f1a0b92fe531c72db784c2f089b8d1b1e6c1e.zip | |
set large limit for "weed mount" directory listing
| -rw-r--r-- | weed/command/mount.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go index 613066951..2a78dd5fb 100644 --- a/weed/command/mount.go +++ b/weed/command/mount.go @@ -29,7 +29,7 @@ func init() { mountOptions.filerGrpcPort = cmdMount.Flag.Int("filer.grpc.port", 0, "filer grpc server listen port, default to http port + 10000") mountOptions.filerMountRootPath = cmdMount.Flag.String("filer.path", "/", "mount this remote path from filer server") mountOptions.dir = cmdMount.Flag.String("dir", ".", "mount weed filer to this directory") - mountOptions.dirListingLimit = cmdMount.Flag.Int("dirListLimit", 1000, "limit sub dir listing size") + mountOptions.dirListingLimit = cmdMount.Flag.Int("dirListLimit", 100000, "limit directory listing size") mountOptions.collection = cmdMount.Flag.String("collection", "", "collection to create the files") mountOptions.replication = cmdMount.Flag.String("replication", "000", "replication to create to files") mountOptions.ttlSec = cmdMount.Flag.Int("ttl", 0, "file ttl in seconds") |
