From 67e019d54b2f7bde826584c1b752305ec1702ca4 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 2 Apr 2021 01:11:44 -0700 Subject: [PATCH] add missing changes --- weed/server/filer_server_handlers_write_upload.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/server/filer_server_handlers_write_upload.go b/weed/server/filer_server_handlers_write_upload.go index 25275cf05..748079d97 100644 --- a/weed/server/filer_server_handlers_write_upload.go +++ b/weed/server/filer_server_handlers_write_upload.go @@ -36,7 +36,7 @@ func (fs *FilerServer) uploadReaderToChunks(w http.ResponseWriter, r *http.Reque return } - resultsChan := make(chan *ChunkCreationResult, operation.ConcurrentUploadLimit) + resultsChan := make(chan *ChunkCreationResult, 2) var waitForAllData sync.WaitGroup waitForAllData.Add(1)