Skip to content

Commit bb5617b

Browse files
authored
Add comment on upload cancellation during processing
1 parent 48a5dab commit bb5617b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/auth/recordingmetadata/recordingmetadatav1/recordingmetadata.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ func (s *RecordingMetadataService) ProcessSessionRecording(ctx context.Context,
128128
})
129129
}
130130

131+
// an upload will be cancelled if there is an error during processing, so we don't
132+
// leave incomplete files behind
131133
w, cancelUpload, uploadErrs := s.startUpload(ctx, sessionID)
132134
shouldCancelUpload := true
133135

0 commit comments

Comments
 (0)