From 528451ac6a23d52abf39e2f413b53f810fcb666b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 23 Dec 2020 17:02:16 +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 --- Kafka/Kafka.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Kafka/Kafka.php b/Kafka/Kafka.php index fdd77488..c62697e1 100644 --- a/Kafka/Kafka.php +++ b/Kafka/Kafka.php @@ -39,13 +39,6 @@ class Kafka extends \Snowflake\Process\Process { $this->channelListener(); - go(function () use ($process) { - $sign = Coroutine::waitSignal(SIGUSR1 | SIGTERM | SIGKILL, -1); - - - var_dump($sign); - }); - $waite = new WaitGroup(); $kafkaServers = SConfig::get('kafka.servers'); foreach ($kafkaServers as $kafkaServer) {