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

Increase CachedFile timeout #480

Merged
merged 1 commit into from
Mar 8, 2021
Merged

Conversation

johnshaughnessy
Copy link
Contributor

We suspect we may be repeatedly downloading the same assets over and over again as their CachedFile records expire. This change extends the lifetime of these records to two days instead of one. We will measure the impact in this change in grafana. This will allow us to (roughly) estimate how many new source URLs are introduced each day and how many are re-requested:
image

More work is being done to allow the lifetime of CachedFiles to be extended until they are no longer used. This change is meant as a quick diagnostic that will be useful in the meantime.

@johnshaughnessy johnshaughnessy mentioned this pull request Mar 8, 2021
Copy link
Contributor

@netpro2k netpro2k left a comment

Choose a reason for hiding this comment

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

lgtm

@johnshaughnessy johnshaughnessy merged commit 8392440 into master Mar 8, 2021
@johnshaughnessy johnshaughnessy deleted the feature/two-day-timeout branch March 8, 2021 23:23
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.

2 participants