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
1 changed files with 1 additions and 1 deletions

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);