From 56b9ef34f0243c08bce07148edcb7aad5d7e5336 Mon Sep 17 00:00:00 2001 From: Max Holland Date: Wed, 29 Nov 2023 14:24:29 +0000 Subject: [PATCH] Revert "Bump recording object ttl to 10 days (#45)" (#46) This reverts commit 549ad12b28ca0a5c642a06c2a8c44023fb4ff582. We should use the option on the access keys instead, and then remove this hack. --- core/uploader.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/uploader.go b/core/uploader.go index b3940ac..af5ba40 100644 --- a/core/uploader.go +++ b/core/uploader.go @@ -46,7 +46,7 @@ func Upload(input io.Reader, outputURI string, waitBetweenWrites, writeTimeout t if strings.Contains(outputURI, "gateway.storjshare.io/catalyst-recordings-com") { fields = &drivers.FileProperties{ Metadata: map[string]string{ - "Object-Expires": "+240h", // Objects will be deleted after 10 days + "Object-Expires": "+168h", // Objects will be deleted after 7 days }, } }