Skip to content

Commit

Permalink
add todos
Browse files Browse the repository at this point in the history
  • Loading branch information
Mariano Goldman committed Aug 28, 2024
1 parent 482738f commit ef675ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/client/ContentClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ export function createContentClient(options: ClientOptions): ContentClient {
const res = await response.json()

const fileUploadRequests = await buildFileUploadRequestsForDeploymentV2(deployData, res.missingFiles)

// TODO We should use a p-queue here and limit the number of concurrent requests
await Promise.all(fileUploadRequests.map((request) => request()))

const response2 = await fetcher.fetch(`${contentUrl}/v2/entities/${deployData.entityId}`, {
Expand Down

0 comments on commit ef675ac

Please sign in to comment.