mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-24 18:59:34 +08:00
add inFlightUploadDataLimitCond signal
This commit is contained in:
parent
1a41691b4c
commit
71b2e6223e
@ -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…
Reference in New Issue
Block a user