This commit is contained in:
2023-08-16 01:01:48 +08:00
parent cd26b26d1d
commit b3f22240b0
+1 -2
View File
@@ -14,7 +14,6 @@ use Kiri;
use Kiri\Exception\RedisConnectException;
use Kiri\Pool\Pool;
use Kiri\Server\Events\OnWorkerExit;
use ReflectionException;
/**
* Class Redis
@@ -139,7 +138,7 @@ SCRIPT;
*/
public function destroy(): void
{
$this->pool()->flush($this->host,0);
$this->pool()->flush($this->host, 0);
}