shrink per-direction buffer to 4k

This commit is contained in:
xtaci
2019-11-12 15:07:45 +08:00
parent 99abd12302
commit 24ff7caecb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -100,7 +100,7 @@ func main() {
log.SetFlags(log.LstdFlags | log.Lshortfile)
}
xmitBuf.New = func() interface{} {
return make([]byte, 32768)
return make([]byte, 4096)
}
myApp := cli.NewApp()
+1 -1
View File
@@ -164,7 +164,7 @@ func main() {
log.SetFlags(log.LstdFlags | log.Lshortfile)
}
xmitBuf.New = func() interface{} {
return make([]byte, 32768)
return make([]byte, 4096)
}
myApp := cli.NewApp()