From: Michael Vogel Date: Sun, 11 Mar 2012 18:45:28 +0000 (+0100) Subject: Item cache now is one day. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9ca5de8c281fa0a7b2323f33765bca25b64bc29d;p=friendica.git Item cache now is one day. --- diff --git a/include/poller.php b/include/poller.php index 65fafda4c8..3bc98e36ff 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);