Procházet zdrojové kódy

Merge pull request #1788 from yichengq/233

rafthttp: increase the size of streaming buffer
Yicheng Qin před 11 roky
rodič
revize
416b799ecf
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 {