diff options
author | Michael Vogel <icarus@dabo.de> | 2012-03-11 19:45:28 +0100 |
---|---|---|
committer | Michael Vogel <icarus@dabo.de> | 2012-03-11 19:45:28 +0100 |
commit | 9ca5de8c281fa0a7b2323f33765bca25b64bc29d (patch) | |
tree | a16060a26af1c3b1f944611e239e128fe0285a7f /include/poller.php | |
parent | 739309abd0cb103fe5a4d5081a7252b5698ab787 (diff) | |
download | volse-hubzilla-9ca5de8c281fa0a7b2323f33765bca25b64bc29d.tar.gz volse-hubzilla-9ca5de8c281fa0a7b2323f33765bca25b64bc29d.tar.bz2 volse-hubzilla-9ca5de8c281fa0a7b2323f33765bca25b64bc29d.zip |
Item cache now is one day.
Diffstat (limited to 'include/poller.php')
-rwxr-xr-x | include/poller.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php index 65fafda4c..3bc98e36f 100755 --- a/include/poller.php +++ b/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); |