Skip to content

Conversation

ngaut
Copy link
Member

@ngaut ngaut commented Nov 17, 2015

No description provided.

@@ -52,8 +52,8 @@ type packetIO struct {

func newPacketIO(conn net.Conn) *packetIO {
p := &packetIO{
rb: bufio.NewReaderSize(conn, 2048),
wb: bufio.NewWriterSize(conn, 2048),
rb: bufio.NewReaderSize(conn, 8192),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

using a const may be better.

@qiuyesuifeng
Copy link
Member

LGTM

@siddontang
Copy link
Member

LGTM

ngaut added a commit that referenced this pull request Nov 17, 2015
server: Increase buffer size of reader and writer
@ngaut ngaut merged commit c8dd240 into master Nov 17, 2015
@ngaut ngaut deleted the goroutine/increase-buffer-size branch November 17, 2015 05:02
rleungx pushed a commit to rleungx/tidb that referenced this pull request Feb 26, 2024
…p#598)

* improve sem read only

Signed-off-by: AmoebaProtozoa <[email protected]>

* mask show plugins (pingcap#585)

Signed-off-by: AmoebaProtozoa <[email protected]>

* fix TestSetGlobalVars

Signed-off-by: AmoebaProtozoa <[email protected]>

* make check

Signed-off-by: AmoebaProtozoa <[email protected]>

---------

Signed-off-by: AmoebaProtozoa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants