diff --git a/Kafka/Socket.php b/Kafka/Socket.php index 34c65b04..dc3f3259 100644 --- a/Kafka/Socket.php +++ b/Kafka/Socket.php @@ -28,8 +28,8 @@ namespace Kafka; class Socket { - const READ_MAX_LEN = 5242880; // read socket max length 5MB -// const READ_MAX_LEN = 2048000; // read socket max length 5MB +// const READ_MAX_LEN = 5242880; // read socket max length 5MB + const READ_MAX_LEN = 2097152; // read socket max length 5MB /** * max write socket buffer @@ -137,10 +137,6 @@ class Socket */ private $readNeedLength = 0; - // }}} - // {{{ functions - // {{{ public function __construct() - /** * __construct *