From 55a116e042acce6ef07a9fc950bafdd3cb0185cd Mon Sep 17 00:00:00 2001 From: sherl Date: Mon, 7 Jul 2025 11:42:22 +0200 Subject: [PATCH] hotfix: make it 3 hours, not 3 minutes --- ythdd_inv_tl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ythdd_inv_tl.py b/ythdd_inv_tl.py index 9d3d64e..19643e8 100644 --- a/ythdd_inv_tl.py +++ b/ythdd_inv_tl.py @@ -350,7 +350,7 @@ def videos(data): time_start = time() if ythdd_globals.config['general']['cache'] and data[3] in ythdd_globals.video_cache: - if ythdd_globals.video_cache[data[3]]['cacheTime'] + 3 * 60 > time(): + if ythdd_globals.video_cache[data[3]]['cacheTime'] + 3 * 60 * 60 > time(): response = ythdd_globals.video_cache[data[3]] response['fromCache'] = True return send(200, response)