修改buffer pool大小

This commit is contained in:
hebo
2019-12-10 19:31:11 +08:00
parent 068871ea0c
commit 8db6c6f4fa
7 changed files with 87 additions and 59 deletions

View File

@@ -159,6 +159,7 @@ func (ms *MysqlSession) readFromClient(seqID int64, bytes []byte) {
ms.expectReceiveSize = extractMysqlPayloadSize(bytes[:4])
// ignore too big mysql packet
if ms.expectReceiveSize >= MaxMysqlPacketLen {
log.Infof("expect receive size is bigger than max deal size: %d", MaxMysqlPacketLen)
return
}