From fa0f77d26e489b7f1f20dc8dcd5c287d12ad26ca Mon Sep 17 00:00:00 2001 From: "as2252258@163.com" Date: Mon, 6 Sep 2021 02:05:20 +0800 Subject: [PATCH] 111 --- core/Cache/Redis.php | 1 - 1 file changed, 1 deletion(-) diff --git a/core/Cache/Redis.php b/core/Cache/Redis.php index 59e02e8e..2a7ab20b 100644 --- a/core/Cache/Redis.php +++ b/core/Cache/Redis.php @@ -48,7 +48,6 @@ class Redis extends Component $length = Config::get('connections.pool.max', 10); - $this->eventProvider->on(OnWorkerStop::class, [$this, 'destroy'], 0); $this->eventProvider->on(OnWorkerExit::class, [$this, 'destroy'], 0); $connections->initConnections('Redis:' . $config['host'], true, $length);