From 743691ca249a83dfec8f4166a6e2516556069567 Mon Sep 17 00:00:00 2001 From: Martin Ondejka Date: Tue, 28 May 2024 15:58:36 +0200 Subject: [PATCH] Increase http request size limit --- rpc/http.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rpc/http.go b/rpc/http.go index b82ea2707a..9504f168bf 100644 --- a/rpc/http.go +++ b/rpc/http.go @@ -31,7 +31,8 @@ import ( ) const ( - maxRequestContentLength = 1024 * 1024 * 5 + // ZEKO NOTE: We allow much larger requests than the default 5MB + maxRequestContentLength = 1024 * 1024 * 1024 * 5 // 5GB contentType = "application/json" )