This commit is contained in:
2020-10-10 13:59:50 +08:00
parent 7e44134e5a
commit 8dc58ee84a
+2 -5
View File
@@ -27,9 +27,9 @@ namespace Kafka;
*/ */
class Socket class Socket
{ {
// {{{ consts
const READ_MAX_LEN = 2048000; // read socket max length 2MB const READ_MAX_LEN = 5242880; // read socket max length 5MB
// const READ_MAX_LEN = 2048000; // read socket max length 5MB
/** /**
* max write socket buffer * max write socket buffer
@@ -39,9 +39,6 @@ class Socket
*/ */
const MAX_WRITE_BUFFER = 2048; const MAX_WRITE_BUFFER = 2048;
// }}}
// {{{ members
/** /**
* Send timeout in seconds. * Send timeout in seconds.
* *