From b5810c955d266d6111d24b5666c1552b4ab5caee Mon Sep 17 00:00:00 2001 From: 9seconds Date: Mon, 23 Mar 2020 08:42:02 +0300 Subject: [PATCH] Decrease a size of direct pipe buffer --- proxy/direct.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy/direct.go b/proxy/direct.go index bbdd7bc..6d01c0d 100644 --- a/proxy/direct.go +++ b/proxy/direct.go @@ -11,7 +11,7 @@ import ( "github.com/9seconds/mtg/protocol" ) -const directPipeBufferSize = 1024 * 1024 +const directPipeBufferSize = 1024 var ( directPipePool = sync.Pool{