Skip to content

Commit

Permalink
Reduce expiry for prod recording files (#59)
Browse files Browse the repository at this point in the history
* Reduce expiry for prod recording files

* Update core/uploader.go

---------

Co-authored-by: Thom Shutt <[email protected]>
  • Loading branch information
mjh1 and thomshutt authored Jun 17, 2024
1 parent e79620c commit c8e9215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/uploader.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func UploadRetryBackoff() backoff.BackOff {
const segmentWriteTimeout = 5 * time.Minute

var expiryField = map[string]string{
"Object-Expires": "+720h", // Objects will be deleted after 30 days
"Object-Expires": "+168h", // Objects will be deleted after 7 days
}

func Upload(input io.Reader, outputURI *url.URL, waitBetweenWrites, writeTimeout time.Duration) (*drivers.SaveDataOutput, error) {
Expand Down

0 comments on commit c8e9215

Please sign in to comment.