diff --git a/weed/server/filer_server_handlers_read_dir.go b/weed/server/filer_server_handlers_read_dir.go index 0b48a9ae3..594bc1fa6 100644 --- a/weed/server/filer_server_handlers_read_dir.go +++ b/weed/server/filer_server_handlers_read_dir.go @@ -27,7 +27,7 @@ func (fs *FilerServer) listDirectoryHandler(w http.ResponseWriter, r *http.Reque limit, limit_err := strconv.Atoi(r.FormValue("limit")) if limit_err != nil { - limit = 100 + limit = fs.option.DirListingLimit } lastFileName := r.FormValue("lastFileName")