mirror of
https://github.com/YGGverse/cache-php.git
synced 2026-03-31 09:35:29 +00:00
fix flush delay
This commit is contained in:
parent
639f1e8b3e
commit
3e9169066a
1 changed files with 4 additions and 2 deletions
|
|
@ -117,9 +117,11 @@ class Memory {
|
|||
}
|
||||
}
|
||||
|
||||
public function flush(int $delay = 60) : bool
|
||||
public function flush(?int $delay = 0) : bool
|
||||
{
|
||||
return $this->_memcached->flush();
|
||||
return $this->_memcached->flush(
|
||||
$delay
|
||||
);
|
||||
}
|
||||
|
||||
private function _setKey(mixed $key) : string
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue