Set ContentDB updates detection cache time to 24 hours (#14837)

This commit is contained in:
rubenwardy 2024-07-09 22:07:26 +01:00 committed by GitHub
parent 3de42f56c5
commit bb3f271a20
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -31,7 +31,7 @@ local cache_file_path = core.get_cache_path() .. DIR_DELIM .. "cdb" .. DIR_DELIM
local has_fetched = false local has_fetched = false
local latest_releases local latest_releases
do 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 f = io.open(cache_file_path, "r")
local data = "" local data = ""
if f then if f then