From 71b2e6223e07eaa5d70efdc8ccbe7f39ce6a0169 Mon Sep 17 00:00:00 2001 From: liubaojiang <1838095916@qq.com> Date: Fri, 20 May 2022 15:19:35 +0800 Subject: [PATCH] add inFlightUploadDataLimitCond signal --- weed/server/volume_server_handlers.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed/server/volume_server_handlers.go b/weed/server/volume_server_handlers.go index afd32fed4..c199fa46a 100644 --- a/weed/server/volume_server_handlers.go +++ b/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