remove println
This commit is contained in:
@@ -90,8 +90,6 @@ func (fo *FilerOptions) start() {
|
|||||||
|
|
||||||
masters := *f.masters
|
masters := *f.masters
|
||||||
|
|
||||||
println("*f.dirListingLimit", *f.dirListingLimit)
|
|
||||||
|
|
||||||
fs, nfs_err := weed_server.NewFilerServer(defaultMux, publicVolumeMux, &weed_server.FilerOption{
|
fs, nfs_err := weed_server.NewFilerServer(defaultMux, publicVolumeMux, &weed_server.FilerOption{
|
||||||
Masters: strings.Split(masters, ","),
|
Masters: strings.Split(masters, ","),
|
||||||
Collection: *f.collection,
|
Collection: *f.collection,
|
||||||
|
|||||||
@@ -35,7 +35,6 @@ func (fs *FilerServer) LookupDirectoryEntry(ctx context.Context, req *filer_pb.L
|
|||||||
|
|
||||||
func (fs *FilerServer) ListEntries(ctx context.Context, req *filer_pb.ListEntriesRequest) (*filer_pb.ListEntriesResponse, error) {
|
func (fs *FilerServer) ListEntries(ctx context.Context, req *filer_pb.ListEntriesRequest) (*filer_pb.ListEntriesResponse, error) {
|
||||||
|
|
||||||
println("directory:", req.Directory, "prefix", req.Prefix)
|
|
||||||
limit := int(req.Limit)
|
limit := int(req.Limit)
|
||||||
if limit == 0 {
|
if limit == 0 {
|
||||||
limit = fs.option.DirListingLimit
|
limit = fs.option.DirListingLimit
|
||||||
|
|||||||
@@ -121,8 +121,6 @@ func (fs *FilerServer) handleMultipleChunks(w http.ResponseWriter, r *http.Reque
|
|||||||
w.Header().Set("Content-Type", mimeType)
|
w.Header().Set("Content-Type", mimeType)
|
||||||
}
|
}
|
||||||
|
|
||||||
println("mime type:", mimeType)
|
|
||||||
|
|
||||||
totalSize := int64(filer2.TotalSize(entry.Chunks))
|
totalSize := int64(filer2.TotalSize(entry.Chunks))
|
||||||
|
|
||||||
rangeReq := r.Header.Get("Range")
|
rangeReq := r.Header.Get("Range")
|
||||||
|
|||||||
Reference in New Issue
Block a user