From aa580ba99bdbc7dd03cb7523a682e3c0dda46275 Mon Sep 17 00:00:00 2001 From: Saleh Khazaei Date: Sun, 14 Apr 2024 21:27:38 +0400 Subject: [PATCH] fix: Fixes compression --- pkg/kaytu-es-sdk/client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/kaytu-es-sdk/client.go b/pkg/kaytu-es-sdk/client.go index 9923948..f635a8e 100644 --- a/pkg/kaytu-es-sdk/client.go +++ b/pkg/kaytu-es-sdk/client.go @@ -169,7 +169,7 @@ func NewClient(c ClientConfig) (Client, error) { Addresses: c.Addresses, Username: *c.Username, Password: *c.Password, - CompressRequestBody: false, + CompressRequestBody: true, Transport: &http.Transport{ TLSClientConfig: &tls.Config{ InsecureSkipVerify: true, //nolint,gosec