Browse Source

Item cache now is one day.

pull/136/head
Michael Vogel 10 years ago
parent
commit
9ca5de8c28
  1. 2
      include/poller.php

2
include/poller.php

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

Loading…
Cancel
Save