Skip to content

Commit

Permalink
Increase probe download to 50MB
Browse files Browse the repository at this point in the history
  • Loading branch information
knpwrs committed Jan 6, 2025
1 parent 118453e commit 94732f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/gateway/src/temporal/activities/probe/probe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export default async function probe(
invariant(uploadSizeBytes, 'Invalid uploadSizeBytes');
await streamObjectToFile('INGEST', s3UploadKey, downloadPath, {
heartbeat: () => Context.current().heartbeat('download'),
Range: `bytes=0-${Math.min(5 * 1024 ** 2 - 1, uploadSizeBytes - 1)}`,
Range: `bytes=0-${Math.min(50 * 1024 ** 2 - 1, uploadSizeBytes - 1)}`,
});
await mkdirp(workingDir);

Expand Down

0 comments on commit 94732f1

Please sign in to comment.