aboutsummaryrefslogtreecommitdiffstats
path: root/config/squid3
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2015-09-26 13:11:19 +0200
committerdoktornotor <notordoktor@gmail.com>2015-09-26 13:11:19 +0200
commit70da583d75bc5a8456a67d0e5fd2cb9fb6b92242 (patch)
tree1678212a2bad55d85fb4bb0dde0a4aadfadbdb71 /config/squid3
parent2f12b1800d04b6f7ac456d5a76093d240cc4c34b (diff)
downloadpfsense-packages-70da583d75bc5a8456a67d0e5fd2cb9fb6b92242.tar.gz
pfsense-packages-70da583d75bc5a8456a67d0e5fd2cb9fb6b92242.tar.bz2
pfsense-packages-70da583d75bc5a8456a67d0e5fd2cb9fb6b92242.zip
Sanitize the cache clear/swapstate rotate cronjob
This absolutely should NOT be run every 15 minutes, completely insane.
Diffstat (limited to 'config/squid3')
-rwxr-xr-xconfig/squid3/34/squid.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squid3/34/squid.inc b/config/squid3/34/squid.inc
index 7a8dba09..b25efb7c 100755
--- a/config/squid3/34/squid.inc
+++ b/config/squid3/34/squid.inc
@@ -810,7 +810,7 @@ function squid_install_cron($should_install) {
$swapstate_cmd = "/usr/local/pkg/swapstate_check.php clean; ";
if ($should_install) {
if ($settings['clear_cache'] == 'on' ) {
- install_cron_job("{$swapstate_cmd}", true, "*/15");
+ install_cron_job("{$swapstate_cmd}", true, "*/360");
} else {
install_cron_job("{$swapstate_cmd}", false);
}