Skip to content

Commit a857d84

Browse files
committed
Bump model popularity cache TTL from 7 to 14 days
1 parent 93db281 commit a857d84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

update_all_notebooks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2431,7 +2431,7 @@ def _safe_int(v):
24312431
# How long an "ok" row is allowed to stay in the cache before its
24322432
# downloads/likes are refreshed against the Hub. created_at is immutable so
24332433
# this only matters for the popularity counters.
2434-
_MODEL_CACHE_OK_TTL_DAYS = 7
2434+
_MODEL_CACHE_OK_TTL_DAYS = 14
24352435

24362436

24372437
def _ok_row_is_stale(entry, ttl_days=_MODEL_CACHE_OK_TTL_DAYS):

0 commit comments

Comments
 (0)