Created
May 17, 2016 13:32
-
-
Save Marginal/3be9c1677834d0ff2a78bd09143cf7c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- lib/private/cache/file.php.bak 2016-05-17 02:49:25.000000000 +0100 | |
+++ lib/private/cache/file.php 2016-05-17 14:07:34.000000000 +0100 | |
@@ -182,6 +182,7 @@ | |
try { | |
$mtime = $storage->filemtime('/' . $file); | |
if ($mtime < $now) { | |
+ \OCP\Util::writeLog('OC\Cache\File::gc', sprintf('Discarding: %s', $file), \OCP\Util::INFO); | |
$storage->unlink('/' . $file); | |
} | |
} catch (\OCP\Lock\LockedException $e) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment