Przeglądaj źródła

Merge pull request #1788 from yichengq/233

rafthttp: increase the size of streaming buffer
Yicheng Qin 11 lat temu
rodzic
commit
416b799ecf
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      rafthttp/streamer.go

+ 1 - 1
rafthttp/streamer.go

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