Преглед изворни кода

Merge pull request #1788 from yichengq/233

rafthttp: increase the size of streaming buffer
Yicheng Qin пре 11 година
родитељ
комит
416b799ecf
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      rafthttp/streamer.go

+ 1 - 1
rafthttp/streamer.go

@@ -34,7 +34,7 @@ import (
 )
 
 const (
-	streamBufSize = 1024
+	streamBufSize = 4096
 )
 
 type WriteFlusher interface {