From 5d1d2f5c083ac10a7d28e5211dc172ecc41139cd Mon Sep 17 00:00:00 2001 From: Jylpah Date: Tue, 25 Feb 2020 20:26:48 +0200 Subject: [PATCH] Update stats cache time to 30 days --- blitzutils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blitzutils.py b/blitzutils.py index c8c086d..8274e9e 100644 --- a/blitzutils.py +++ b/blitzutils.py @@ -437,7 +437,7 @@ class WG: URL_WG_ACCOUNT_ID = 'account/list/?fields=account_id%2Cnickname&application_id=' URL_WG_PLAYER_STATS = 'account/info/?application_id=' CACHE_DB_FILE = '.blitzutils_cache.sqlite3' - CACHE_GRACE_TIME = 2*7*24*3600 # 2 weeks cache + CACHE_GRACE_TIME = 30*24*3600 # 30 days cache # sql_create_player_stats_tbl = """CREATE TABLE IF NOT EXISTS player_stats ( # account_id INTEGER NOT NULL,