add missing changes

This commit is contained in:
Chris Lu 2021-04-02 01:11:44 -07:00
parent 7e8edc3c4a
commit 67e019d54b

View File

@ -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)