mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-23 12:53:36 +08:00
remove dead code
This commit is contained in:
@@ -23,7 +23,6 @@ type VolumeServer struct {
|
|||||||
inFlightDownloadDataSize int64
|
inFlightDownloadDataSize int64
|
||||||
concurrentUploadLimit int64
|
concurrentUploadLimit int64
|
||||||
concurrentDownloadLimit int64
|
concurrentDownloadLimit int64
|
||||||
inFlightUploadDataLimitCond *sync.Cond
|
|
||||||
inFlightDownloadDataLimitCond *sync.Cond
|
inFlightDownloadDataLimitCond *sync.Cond
|
||||||
|
|
||||||
SeedMasterNodes []pb.ServerAddress
|
SeedMasterNodes []pb.ServerAddress
|
||||||
|
@@ -61,7 +61,6 @@ func (vs *VolumeServer) privateStoreHandler(w http.ResponseWriter, r *http.Reque
|
|||||||
atomic.AddInt64(&vs.inFlightUploadDataSize, contentLength)
|
atomic.AddInt64(&vs.inFlightUploadDataSize, contentLength)
|
||||||
defer func() {
|
defer func() {
|
||||||
atomic.AddInt64(&vs.inFlightUploadDataSize, -contentLength)
|
atomic.AddInt64(&vs.inFlightUploadDataSize, -contentLength)
|
||||||
vs.inFlightUploadDataLimitCond.Signal()
|
|
||||||
}()
|
}()
|
||||||
|
|
||||||
// processs uploads
|
// processs uploads
|
||||||
|
Reference in New Issue
Block a user