Skip to content

Commit 7a07094

Browse files
author
Fu Wenhui
committed
reduce buffer size
1 parent dd15a3c commit 7a07094

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

replication/binlogstreamer.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ func (s *BinlogStreamer) closeWithError(err error) {
8989
func newBinlogStreamer() *BinlogStreamer {
9090
s := new(BinlogStreamer)
9191

92-
s.ch = make(chan *BinlogEvent, 10240)
92+
s.ch = make(chan *BinlogEvent, 5120)
9393
s.ech = make(chan error, 4)
9494

9595
return s

0 commit comments

Comments
 (0)