1
0
Fork 0
mirror of https://github.com/chrislusf/seaweedfs synced 2024-09-13 12:30:39 +02:00

remove logs

This commit is contained in:
chrislu 2022-02-26 03:00:20 -08:00
parent b2a148cb4c
commit 86ce69f709

View file

@ -2,7 +2,6 @@ package filer
import (
"fmt"
"github.com/chrislusf/seaweedfs/weed/glog"
"github.com/chrislusf/seaweedfs/weed/util/chunk_cache"
"github.com/chrislusf/seaweedfs/weed/util/mem"
"github.com/chrislusf/seaweedfs/weed/wdclient"
@ -52,7 +51,6 @@ func (rc *ReaderCache) MaybeCache(fileId string, cipherKey []byte, isGzipped boo
}
// if too many, delete one of them?
glog.V(0).Infof("downloader2 %d", len(rc.downloaders))
if len(rc.downloaders) >= rc.limit {
oldestFid, oldestTime := "", time.Now()
for fid, downloader := range rc.downloaders {
@ -94,7 +92,6 @@ func (rc *ReaderCache) ReadChunkAt(buffer []byte, fileId string, cipherKey []byt
}
}
glog.V(0).Infof("downloader1 %d", len(rc.downloaders))
if len(rc.downloaders) >= rc.limit {
oldestFid, oldestTime := "", time.Now()
for fid, downloader := range rc.downloaders {