1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-12 16:15:20 +02:00

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

View File

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