Skip to content

Commit

Permalink
fix: set default cache ttl of 1d (#4434)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvikan authored Jan 30, 2025
1 parent 3ae7a10 commit 9350750
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/BridgeAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ protected function loadCacheValue(string $key, $default = null)
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);
}
Expand Down

0 comments on commit 9350750

Please sign in to comment.