chg retention to 60 days

This commit is contained in:
crflynn
2018-05-21 08:55:54 -04:00
parent 158d298dd5
commit 06ebf61fce
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"] PSQL_TABLES = ["overall", "python_major", "python_minor", "system"]
# Number of days to retain records # Number of days to retain records
MAX_RECORD_AGE = 45 MAX_RECORD_AGE = 60
def get_google_credentials(): 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> <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 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> <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 30 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 60 days.</p>
<h3>API</h3> <h3>API</h3>
<p>A simple <p>A simple
<a href="{{url_for('api.api')}}">JSON API</a> <a href="{{url_for('api.api')}}">JSON API</a>

View File

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