Refresh cache every 2h when using GUI

This commit is contained in:
Renato Botelho 2017-08-15 14:54:24 -03:00
parent 427674d9e2
commit 36f9a1ad89

View File

@ -219,7 +219,7 @@ $g["ext_menu_path"] = "/usr/local/share/{$g['product_name']}/menu";
/* Cache file used to store pfSense version */
$g["version_cache_file"] = "{$g['varrun_path']}/{$g['product_name']}_version";
$g['version_cache_refresh'] = 24 * 60 * 60; /* 24h */
$g['version_cache_refresh'] = 2 * 60 * 60; /* 2h */
function platform_booting($on_console = false) {
global $g;