From 038535ea9a3b0bdc223fb0d96d00db51c076b260 Mon Sep 17 00:00:00 2001 From: Ruslan Efanov Date: Fri, 1 Sep 2023 15:08:41 +0300 Subject: [PATCH] increase limit of response body --- v1/helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v1/helpers.go b/v1/helpers.go index fc1ba4a..d60cac2 100644 --- a/v1/helpers.go +++ b/v1/helpers.go @@ -8,7 +8,7 @@ import ( ) const MB = 1 << 20 -const LimitResponse = 3 * MB +const LimitResponse = 25 * MB func buildLimitedRawResponse(resp *http.Response) ([]byte, error) { defer resp.Body.Close()