DiskCache: tweak how expiration is invoked

This commit is contained in:
Andrew Dolgov
2022-11-24 18:49:36 +03:00
parent 3180b35807
commit be6bc72a74
4 changed files with 21 additions and 16 deletions

View File

@@ -1673,7 +1673,8 @@ class RSSUtils {
}
static function housekeeping_common(): void {
DiskCache::expire();
$cache = new DiskCache("");
$cache->expire_all();
self::expire_lock_files();
self::expire_error_log();