1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-02-26 12:53:24 +01:00

fix: set default cache ttl of 1d (#4434)

This commit is contained in:
Dag 2025-01-30 21:05:17 +01:00 committed by GitHub
parent 3ae7a10223
commit 935075072b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -327,7 +327,7 @@ abstract class BridgeAbstract
return $this->cache->get($this->getShortName() . '_' . $key, $default);
}
protected function saveCacheValue(string $key, $value, int $ttl = null)
protected function saveCacheValue(string $key, $value, int $ttl = 86400)
{
$this->cache->set($this->getShortName() . '_' . $key, $value, $ttl);
}