Browse Source

add missing changes

pull/1960/head
Chris Lu 4 years ago
parent
commit
67e019d54b
  1. 2
      weed/server/filer_server_handlers_write_upload.go

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

Loading…
Cancel
Save