Browse Source

add inFlightUploadDataLimitCond signal

pull/3081/head
liubaojiang 3 years ago
parent
commit
71b2e6223e
  1. 1
      weed/server/volume_server_handlers.go

1
weed/server/volume_server_handlers.go

@ -71,6 +71,7 @@ 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