Browse Source

Decrease a size of direct pipe buffer

tags/v1.0.4^2
9seconds 6 years ago
parent
commit
b5810c955d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      proxy/direct.go

+ 1
- 1
proxy/direct.go View File

@@ -11,7 +11,7 @@ import (
11 11
 	"github.com/9seconds/mtg/protocol"
12 12
 )
13 13
 
14
-const directPipeBufferSize = 1024 * 1024
14
+const directPipeBufferSize = 1024
15 15
 
16 16
 var (
17 17
 	directPipePool = sync.Pool{

Loading…
Cancel
Save