Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Revert "Bump recording object ttl to 10 days (#45)" #46

Merged
merged 1 commit into from
Nov 29, 2023
Merged

Conversation

mjh1
Copy link
Contributor

@mjh1 mjh1 commented Nov 29, 2023

This reverts commit 549ad12.

We should use the option on the access keys instead, and then remove this hack.

This reverts commit 549ad12.

We should use the option on the access keys instead, and then remove
this hack.
@@ -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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we expire recordings after 7 days?
Are these some intermediate source files?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Exactly yep, we ingest recordings from them and then they're no longer needed.

@mjh1 mjh1 merged commit 56b9ef3 into main Nov 29, 2023
8 checks passed
@mjh1 mjh1 deleted the mh/revert branch November 29, 2023 14:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants