Browse Source

remove dead code

pull/2803/head
chrislu 3 years ago
parent
commit
9b04f17555
  1. 1
      weed/server/volume_server.go
  2. 1
      weed/server/volume_server_handlers.go

1
weed/server/volume_server.go

@ -23,7 +23,6 @@ type VolumeServer struct {
inFlightDownloadDataSize int64
concurrentUploadLimit int64
concurrentDownloadLimit int64
inFlightUploadDataLimitCond *sync.Cond
inFlightDownloadDataLimitCond *sync.Cond
SeedMasterNodes []pb.ServerAddress

1
weed/server/volume_server_handlers.go

@ -61,7 +61,6 @@ func (vs *VolumeServer) privateStoreHandler(w http.ResponseWriter, r *http.Reque
atomic.AddInt64(&vs.inFlightUploadDataSize, contentLength)
defer func() {
atomic.AddInt64(&vs.inFlightUploadDataSize, -contentLength)
vs.inFlightUploadDataLimitCond.Signal()
}()
// processs uploads

Loading…
Cancel
Save