summaryrefslogtreecommitdiffstats
path: root/src
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 15:26:16 -0300
commite0e922da092c2f61826dadc37466d4912694f859 (patch)
treed0500425c704715aefb05d41719cdf8860e83b27 /src
parent987865d10acbea980d3ee1c1c8100636cc7c0798 (diff)
downloadpfsense-e0e922da092c2f61826dadc37466d4912694f859.zip
pfsense-e0e922da092c2f61826dadc37466d4912694f859.tar.gz
Refresh cache every 2h when using GUI
Diffstat (limited to 'src')
-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 f2fe7bf..dcc5819 100644
--- a/src/etc/inc/globals.inc
+++ b/src/etc/inc/globals.inc
@@ -174,7 +174,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