From c8e92158efc2c0af493a0a90af3b5f3b4d95b76b Mon Sep 17 00:00:00 2001 From: Max Holland Date: Mon, 17 Jun 2024 15:09:33 +0100 Subject: [PATCH] Reduce expiry for prod recording files (#59) * Reduce expiry for prod recording files * Update core/uploader.go --------- Co-authored-by: Thom Shutt --- core/uploader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/uploader.go b/core/uploader.go index 8af34ec..68095a7 100644 --- a/core/uploader.go +++ b/core/uploader.go @@ -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) {