mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-12 01:48:48 +00:00
fix(memcached): do not flush entire cache, oops (#3551)
This commit is contained in:
parent
6254b8593e
commit
f91723d9e5
@ -84,7 +84,6 @@ class MemcachedCache implements CacheInterface
|
|||||||
|
|
||||||
public function purgeCache(int $timeout = 86400): void
|
public function purgeCache(int $timeout = 86400): void
|
||||||
{
|
{
|
||||||
$this->conn->flush();
|
|
||||||
// Note: does not purges cache right now
|
// Note: does not purges cache right now
|
||||||
// Just sets cache expiration and leave cache purging for memcached itself
|
// Just sets cache expiration and leave cache purging for memcached itself
|
||||||
$this->expiration = $timeout;
|
$this->expiration = $timeout;
|
||||||
|
Loading…
Reference in New Issue
Block a user