mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-23 22:40:39 +02:00
add inFlightUploadDataLimitCond signal
This commit is contained in:
1 parent
1a41691b4c
commit
71b2e6223e
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user