mirror of
https://github.com/buger/goreplay.git
synced 2024-04-21 12:32:02 +00:00
Increase buffer to 5 megabytes
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ func Start(stop chan int) {
|
||||
|
||||
// Copy from 1 reader to multiple writers
|
||||
func CopyMulty(src io.Reader, writers ...io.Writer) (err error) {
|
||||
buf := make([]byte, 32*1024)
|
||||
buf := make([]byte, 5*1024*1024)
|
||||
wIndex := 0
|
||||
|
||||
for {
|
||||
|
||||
Reference in New Issue
Block a user