소스 검색

Decrease a size of direct pipe buffer

tags/v1.0.4^2
9seconds 6 년 전
부모
커밋
b5810c955d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      proxy/direct.go

+ 1
- 1
proxy/direct.go 파일 보기

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

Loading…
취소
저장