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);