Browse Source

Merge pull request #1788 from yichengq/233

rafthttp: increase the size of streaming buffer
Yicheng Qin 11 years ago
parent
commit
416b799ecf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rafthttp/streamer.go

+ 1 - 1
rafthttp/streamer.go

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