From 1c64e68fd59dfb3148624927bb3fc03db0fc4a35 Mon Sep 17 00:00:00 2001 From: Abimael Martell Date: Fri, 2 Jan 2026 12:25:17 -0800 Subject: [PATCH] Increase Markdown Service Body Limit (#2629) * Add error details to Go Markdown Service * add error to service * Increase Markdown Service Body Limit --- apps/go-html-to-md-service/handler.go | 2 +- apps/go-html-to-md-service/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/go-html-to-md-service/handler.go b/apps/go-html-to-md-service/handler.go index ef97d6b52..795821658 100644 --- a/apps/go-html-to-md-service/handler.go +++ b/apps/go-html-to-md-service/handler.go @@ -11,7 +11,7 @@ import ( ) const ( - maxRequestSize = 60 * 1024 * 1024 // 60MB max request size + maxRequestSize = 150 * 1024 * 1024 // 150MB max request size ) // Handler manages HTTP request handling diff --git a/apps/go-html-to-md-service/main.go b/apps/go-html-to-md-service/main.go index 467bda531..3e6d587f1 100644 --- a/apps/go-html-to-md-service/main.go +++ b/apps/go-html-to-md-service/main.go @@ -18,7 +18,7 @@ const ( defaultShutdownTimeout = 30 * time.Second defaultReadTimeout = 1 * time.Minute defaultWriteTimeout = 1 * time.Minute - maxUploadSize = 50 * 1024 * 1024 + maxUploadSize = 150 * 1024 * 1024 ) func main() {