Skip to content

Commit 4cede2e

Browse files
committed
chore: added clarifying comment
1 parent 127aa3d commit 4cede2e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/api/chunk_stream.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ func (s *Service) chunkUploadStreamHandler(w http.ResponseWriter, r *http.Reques
5656
}
5757

5858
// if tag not specified use direct upload
59+
// Using context.Background here because the putter's lifetime extends beyond that of the HTTP request.
5960
putter, err := s.newStamperPutter(context.Background(), putterOptions{
6061
BatchID: headers.BatchID,
6162
TagID: tag,

0 commit comments

Comments
 (0)