fix flush delay

This commit is contained in:
ghost 2024-02-03 01:00:45 +02:00
parent 639f1e8b3e
commit 3e9169066a

View file

@ -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