mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-26 04:42:59 +01:00
fix: set default cache ttl of 1d (#4434)
This commit is contained in:
parent
3ae7a10223
commit
935075072b
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user