From bb3f271a202d7a06bc40188414a19df753e0ddcd Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Tue, 9 Jul 2024 22:07:26 +0100 Subject: [PATCH] Set ContentDB updates detection cache time to 24 hours (#14837) --- builtin/mainmenu/content/update_detector.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/mainmenu/content/update_detector.lua b/builtin/mainmenu/content/update_detector.lua index 66db39ce6..1f8672bba 100644 --- a/builtin/mainmenu/content/update_detector.lua +++ b/builtin/mainmenu/content/update_detector.lua @@ -31,7 +31,7 @@ local cache_file_path = core.get_cache_path() .. DIR_DELIM .. "cdb" .. DIR_DELIM local has_fetched = false local latest_releases do - if check_cache_age("cdb_updates_last_checked", 3 * 3600) then + if check_cache_age("cdb_updates_last_checked", 24 * 3600) then local f = io.open(cache_file_path, "r") local data = "" if f then