Item cache now is one day.

This commit is contained in:
Michael Vogel 2012-03-11 19:45:28 +01:00
parent 739309abd0
commit 9ca5de8c28

View file

@ -75,7 +75,7 @@ function poller_run($argv, $argc){
if ($dh = opendir($cache)) {
while (($file = readdir($dh)) !== false) {
$fullpath = $cache."/".$file;
if ((filetype($fullpath) == "file") and filectime($fullpath) < (time() - 1800))
if ((filetype($fullpath) == "file") and filectime($fullpath) < (time() - 86400))
unlink($fullpath);
}
closedir($dh);