From bea88fa46accef8a57237f095b1d6ec0c10337f1 Mon Sep 17 00:00:00 2001 From: GoEdgeLab Date: Sun, 20 Mar 2022 11:28:45 +0800 Subject: [PATCH] =?UTF-8?q?GRPC=E9=80=9A=E8=AE=AF=E6=94=AF=E6=8C=81gzip?= =?UTF-8?q?=E5=8E=8B=E7=BC=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- internal/nodes/api_node.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/internal/nodes/api_node.go b/internal/nodes/api_node.go index fb310af6..ed803592 100644 --- a/internal/nodes/api_node.go +++ b/internal/nodes/api_node.go @@ -37,6 +37,9 @@ import ( "strconv" "sync" "time" + + // grpc decompression + _ "google.golang.org/grpc/encoding/gzip" ) var sharedAPIConfig *configs.APIConfig = nil