data retention to 180 days

This commit is contained in:
crflynn
2018-08-13 21:12:26 -04:00
parent 49d04de2a5
commit 2f7a50759c
3 changed files with 4 additions and 4 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 = 120
MAX_RECORD_AGE = 180
def get_google_credentials():
@@ -415,7 +415,7 @@ def etl():
if __name__ == "__main__":
date = "2018-06-06"
date = "2018-07-28"
env = "prod"
print(date, env)
print(get_daily_download_stats(env, date))