Explorar o código

Merge pull request #1788 from yichengq/233

rafthttp: increase the size of streaming buffer
Yicheng Qin %!s(int64=11) %!d(string=hai) anos
pai
achega
416b799ecf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      rafthttp/streamer.go

+ 1 - 1
rafthttp/streamer.go

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