120 days retention

This commit is contained in:
crflynn
2018-06-25 22:05:16 -04:00
parent f5a60c9476
commit 49d04de2a5
3 changed files with 3 additions and 3 deletions

View File

@@ -22,7 +22,7 @@ SYSTEMS = ("Windows", "Linux", "Darwin")
PSQL_TABLES = ["overall", "python_major", "python_minor", "system"]
# Number of days to retain records
MAX_RECORD_AGE = 90
MAX_RECORD_AGE = 120
def get_google_credentials():

View File

@@ -10,7 +10,7 @@
<a href="https://bigquery.cloud.google.com/table/the-psf:pypi.downloads">download stats</a>
on Google BigQuery. All aggregate download stats ignore known PyPI mirrors (such as
<a href="{{url_for('general.package', package='bandersnatch')}}">bandersnatch</a>) unless noted otherwise.</p>
<p>PyPI Stats attempts to operate within the free tier of its hosted services. For this reason, aggregate data is only retained for 90 days.</p>
<p>PyPI Stats attempts to operate within the free tier of its hosted services. For this reason, aggregate data is only retained for 120 days.</p>
<h3>API</h3>
<p>A simple
<a href="{{url_for('api.api')}}">JSON API</a>

View File

@@ -12,7 +12,7 @@
<ul>
<li>All download stats exclude known mirrors (such as
<a href="{{ url_for('general.package', package='bandersnatch')}}">bandersnatch</a>) unless noted otherwise.</li>
<li>Time series data is retained only for 90 days.</li>
<li>Time series data is retained only for 120 days.</li>
<li>All download data is updated once daily.</li>
</ul>
</p>