Browse Source

add filer sub dir list size limit to "weed server"

pull/680/head
Chris Lu 7 years ago
parent
commit
922032b9bb
  1. 1
      weed/command/server.go

1
weed/command/server.go

@ -89,6 +89,7 @@ func init() {
filerOptions.redirectOnRead = cmdServer.Flag.Bool("filer.redirectOnRead", false, "whether proxy or redirect to volume server during file GET request")
filerOptions.disableDirListing = cmdServer.Flag.Bool("filer.disableDirListing", false, "turn off directory listing")
filerOptions.maxMB = cmdServer.Flag.Int("filer.maxMB", 32, "split files larger than the limit")
filerOptions.dirListingLimit = cmdServer.Flag.Int("filer.dirListLimit", 1000, "limit sub dir listing size")
}
func runServer(cmd *Command, args []string) bool {

Loading…
Cancel
Save