From 9656361b905519b24de6e9d962d5b4c12f99383f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 28 Apr 2021 11:31:35 +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/Cache/Redis.php | 1 + 1 file changed, 1 insertion(+) diff --git a/System/Cache/Redis.php b/System/Cache/Redis.php index 458e7c4c..92500c7c 100644 --- a/System/Cache/Redis.php +++ b/System/Cache/Redis.php @@ -38,6 +38,7 @@ class Redis extends Component Event::on(Event::SYSTEM_RESOURCE_CLEAN, [$this, 'destroy']); Event::on(Event::SYSTEM_RESOURCE_RELEASES, [$this, 'release']); Event::on(Event::SERVER_WORKER_START, [$this, 'createPool']); + Event::on(Event::SERVER_TASK_START, [$this, 'createPool']); }