From 4e0f1d5e69f00bab7a0735f82a0bec76f8787d78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Wed, 2 Dec 2020 17:33:31 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kafka/Kafka.php b/Kafka/Kafka.php index a3db972b..340bc1ba 100644 --- a/Kafka/Kafka.php +++ b/Kafka/Kafka.php @@ -155,8 +155,8 @@ class Kafka extends \Snowflake\Process\Process if (function_exists('pcntl_sigprocmask')) { pcntl_sigprocmask(SIG_BLOCK, array(SIGIO)); $conf->set('internal.termination.signal', (string)SIGIO); - } else { - $conf->set('queue.buffering.max.ms', '1'); +// } else { +// $conf->set('queue.buffering.max.ms', '1'); } $topicConf = new TopicConf();