1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-08-28 10:30:12 +02:00

[core] Remove hardcoded maximum duration of 24 hours in loadCacheValue (#3355)

This commit is contained in:
Eugene Molotov
2023-04-19 20:53:35 +05:00
committed by GitHub
parent a4a7473abb
commit 343fd36671
4 changed files with 7 additions and 7 deletions

View File

@@ -117,7 +117,7 @@ The default URI shows the Madara demo page.';
protected function getMangaInfo($url)
{
$url_cache = 'TitleInfo_' . preg_replace('/[^\w]/', '.', rtrim($url, '/'));
$cache = $this->loadCacheValue($url_cache);
$cache = $this->loadCacheValue($url_cache, 86400);
if (isset($cache)) {
return $cache;
}