From 7cea64cb6b36ef21a89b310a44a78ded3d99d33c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 6 Jan 2021 15:36:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- System/Pool/Redis.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/System/Pool/Redis.php b/System/Pool/Redis.php index fcfb45ec..bc851cd6 100644 --- a/System/Pool/Redis.php +++ b/System/Pool/Redis.php @@ -93,6 +93,8 @@ class Redis extends Pool $redis->setOption(SRedis::OPT_READ_TIMEOUT, $config['read_timeout']); $redis->setOption(SRedis::OPT_PREFIX, $config['prefix']); + $this->_create += 1; + return $redis; }); }