hotfix: make it 3 hours, not 3 minutes

This commit is contained in:
2025-07-07 11:42:22 +02:00
parent 51b94842e3
commit 55a116e042

View File

@@ -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)