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)