Skip to content

Commit 99514a6

Browse files
committed
Correct chunk size.
1 parent 1a9351f commit 99514a6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • sdks/go/pkg/beam/runners/prism/internal/jobservices

sdks/go/pkg/beam/runners/prism/internal/jobservices/artifact.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func (s *Server) GetArtifact(req *jobpb.GetArtifactRequest, stream jobpb.Artifac
104104
slog.Warn("unable to provide artifact to worker", "artifact_info", pt)
105105
return fmt.Errorf("unable to provide %v to worker", pt)
106106
}
107-
chunk := 4 * 1024 * 1024 // 128 MB
107+
chunk := 128 * 1024 * 1024 // 128 MB
108108
var i int
109109
for i+chunk < len(buf) {
110110
stream.Send(&jobpb.GetArtifactResponse{

0 commit comments

Comments
 (0)