Increase buffer to 5 megabytes

This commit is contained in:
Leonid Bugaev
2014-10-13 18:26:08 +04:00
parent 4b592e0e2d
commit 983bc728fa
+1 -1
View File
@@ -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 {