ソースを参照

Merge pull request #1788 from yichengq/233

rafthttp: increase the size of streaming buffer
Yicheng Qin 12 年 前
親
コミット
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 {