summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-08-15 14:54:24 -0300
committerRenato Botelho <renato@netgate.com>2017-08-15 14:54:24 -0300
commit36f9a1ad89ea7816e3bc96a2fcaf4f2dafa2cae7 (patch)
treed4a1257720a74fdce1d3e368ad1ec786485ed6ab /src/etc
parent427674d9e2da8cffe7b7a8ef11ba898962061a8e (diff)
downloadpfsense-36f9a1ad89ea7816e3bc96a2fcaf4f2dafa2cae7.zip
pfsense-36f9a1ad89ea7816e3bc96a2fcaf4f2dafa2cae7.tar.gz
Refresh cache every 2h when using GUI
Diffstat (limited to 'src/etc')
-rw-r--r--src/etc/inc/globals.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/globals.inc b/src/etc/inc/globals.inc
index 61927a5..e4fb3d2 100644
--- a/src/etc/inc/globals.inc
+++ b/src/etc/inc/globals.inc
@@ -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;
OpenPOWER on IntegriCloud