Skip to content
This repository has been archived by the owner on Aug 3, 2023. It is now read-only.

hotfix for expiring unused sites assets #2226

Merged
merged 1 commit into from
Mar 21, 2022
Merged

hotfix for expiring unused sites assets #2226

merged 1 commit into from
Mar 21, 2022

Conversation

caass
Copy link
Contributor

@caass caass commented Mar 21, 2022

closes #2224

@caass caass requested a review from a team as a code owner March 21, 2022 14:07
Copy link
Contributor

@jspspike jspspike left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -20,6 +20,8 @@ use crate::terminal::emoji;
use crate::terminal::message::{Message, Output, StdErr, StdOut};
use crate::upload;

const FIVE_MINUTES: Option<i64> = Some(60 * 5);
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: Maybe just move this inline where it's used. Since it's not used anywhere else

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ah i kind of like that it has a name, it's more clear than Some(300) imo

@caass caass merged commit 1eadbcb into master Mar 21, 2022
@delete-merged-branch delete-merged-branch bot deleted the sites-hotfix branch March 21, 2022 17:01
@caass caass mentioned this pull request Mar 22, 2022
caass pushed a commit that referenced this pull request Mar 22, 2022
caass pushed a commit that referenced this pull request Mar 22, 2022
* Revert "hotfix for expiring unused sites assets (#2226)"

This reverts commit 1eadbcb.

* Revert "fix: expire unused assets on site upload (#2221)"

This reverts commit 3bb3681.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Expiration changes hanging deploys
2 participants