]> git.mxchange.org Git - friendica.git/commitdiff
Item cache now is one day.
authorMichael Vogel <icarus@dabo.de>
Sun, 11 Mar 2012 18:45:28 +0000 (19:45 +0100)
committerMichael Vogel <icarus@dabo.de>
Sun, 11 Mar 2012 18:45:28 +0000 (19:45 +0100)
include/poller.php

index 65fafda4c86fb42c1d26768fa3869a0d8190b17a..3bc98e36ff2f479ca53dec54eefd63186381f357 100755 (executable)
@@ -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);